summaryrefslogtreecommitdiff
path: root/testtools
Commit message (Collapse)AuthorAgeFilesLines
* More todosJonathan Lange2015-12-111-0/+7
|
* Document extended test result interfaceJonathan Lange2015-12-102-0/+133
|
* Correct attributesJonathan Lange2015-12-101-4/+4
|
* Test suites are iterableJonathan Lange2015-12-102-4/+11
|
* More RunTest related interfacesJonathan Lange2015-12-103-10/+39
|
* Module docstringJonathan Lange2015-12-101-0/+1
|
* How we create RunTestJonathan Lange2015-12-101-0/+15
|
* Document the bits of TestCase that RunTest needsJonathan Lange2015-12-101-0/+55
|
* Sketch of interfacesJonathan Lange2015-12-103-7/+52
|
* Merge pull request #158 from jml/extract-test-recordJonathan Lange2015-11-182-81/+300
|\ | | | | Extract TestRecord object from StreamToDict
| * Hide TestRecord and StreamToTestRecordJonathan Lange2015-11-121-20/+20
| | | | | | | | | | While they are probably OK to be exposed, let's keep this patch minimal & not news-worthy
| * Old-fashioned set syntaxJonathan Lange2015-11-091-2/+2
| |
| * Abstract text_or_bytesJonathan Lange2015-11-092-6/+9
| |
| * Change PRecord to PClassJonathan Lange2015-11-091-2/+2
| | | | | | | | We don't want to accidentally iterate on TestRecord, say.
| * Move test_dict_to_case near StreamToDictJonathan Lange2015-11-091-15/+15
| |
| * Don't use StreamToDict internallyJonathan Lange2015-11-091-9/+9
| |
| * _streamer -> _hookJonathan Lange2015-11-091-8/+8
| |
| * StreamSummary with composition, not inheritanceJonathan Lange2015-11-091-2/+12
| |
| * Extract StreamToTestRecord base classJonathan Lange2015-11-091-22/+68
| |
| * Move _make_content_type closer to where it is usedJonathan Lange2015-11-091-21/+21
| |
| * Put to_test_case logic on TestRecordJonathan Lange2015-11-091-8/+25
| |
| * Make _status_map persistent.Jonathan Lange2015-11-091-2/+2
| | | | | | | | No need to ever change it.
| * Move test_dict_to_case closer to test_dict definitionJonathan Lange2015-11-091-27/+27
| |
| * Remove temporary variable 'case'Jonathan Lange2015-11-091-8/+7
| |
| * Extract got_fileJonathan Lange2015-11-091-8/+19
| |
| * Extract got_timestamp functionJonathan Lange2015-11-091-6/+10
| |
| * Move creation logic to TestRecord itselfJonathan Lange2015-11-091-10/+11
| |
| * Actually use TestRecord internallyJonathan Lange2015-11-091-25/+59
| |
| * Extract methods for making and updating recordJonathan Lange2015-11-091-13/+25
| |
| * Extract _make_content_typeJonathan Lange2015-11-091-14/+22
| |
| * Use `case` consistently, over `_inprogress[key]`Jonathan Lange2015-11-091-5/+13
| |
| * Use name for interim statesJonathan Lange2015-11-091-1/+1
| |
| * Aspirational documentationJonathan Lange2015-11-091-0/+66
| |
* | Add testscenarios for use by tests.Robert Collins2015-11-191-2/+4
|/ | | | Change-Id: I76ba3261129736a714d7b265d21a29264f1c2974
* Remove VWSJonathan Lange2015-11-061-3/+0
|
* Update PlaceHolder indentationJonathan Lange2015-11-061-3/+3
|
* Restore & deprecate domapJonathan Lange2015-11-061-6/+19
| | | | | | * Private name for `_strict_map` * Use `map` signature to `_strict_map` * Add alias `domap` with deprecation warning
* Spell out `f` and `xs`Jonathan Lange2015-11-031-2/+2
|
* Drop `__metaclass__` declarationJonathan Lange2015-11-021-1/+0
|
* Document confusing `domap`Jonathan Lange2015-11-021-6/+7
|
* Remove duplicate implementation of methodJonathan Lange2015-11-021-3/+0
|
* Allow event_log to be passed to result doublesJonathan Lange2015-11-021-8/+12
|
* Fix lint in testresult.realJonathan Lange2015-11-021-56/+73
|
* Lint clear-upJonathan Lange2015-11-022-11/+22
|
* Port twisted.deferredruntest to Twisted >= 15.1.0Colin Watson2015-10-161-4/+23
| | | | | | | | | | | | | | Twisted 15.1.0 removes the compatibility import of _LogObserver in twisted.trial.unittest. This is unfortunate for us, but it's what we get for using an internal interface. It at least still exists in twisted.trial._synctest, so we can get it from there. Twisted 15.2.0 adds the new twisted.logger framework, which requires a slight adjustment to run_with_log_observers. There's no longer a supported interface to get hold of all log observers, but since we're already using an internal interface (see above), what's one more? This passes "make check" with the current release, Twisted 15.3.0.
* Fix tests with unittest2 1.1.0 and higher.Robert Collins2015-07-011-0/+1
| | | | Change-Id: I4613d47852fbf901819f197f6e388ccaa717b53e
* Switch to pbr as a build systemRobert Collins2015-05-051-2/+4
| | | | | | | | | | | | | | This automates the manual dance around version numbers for less maintenance pain. The main visible changes are: - requirements are in requirements.txt for now - tags must be just x.y.z not testtools-x.y.z - version information in __init__ is dynamically looked up. - we can probably cleanup a bunch of our bootstrap import glue but in the interest of clear reviews, and avoiding surprises, I'm leaving that alone for now. Change-Id: Ia54f681b50764a94ada68a6b2ac1bc77bfb619c5
* Add some custom matchers to make deferred log tests more readable.Colin Watson2015-04-041-26/+73
|
* Simplify AsynchronousDeferredRunTest._run_core's StringIO handling.Colin Watson2015-04-031-9/+2
|
* Rewind the deferred test log before attaching it.Colin Watson2015-04-022-3/+15
| | | | | | Since the StringIO buffer is positioned at end-of-file after the underlying test finishes, the twisted-log detail was previously always empty.