module documentation
Defines classes that handle the results of tests.
Class |
|
A minimalist reporter that prints only a summary of the test result, in the form of (timeTaken, #tests, #tests, #errors, #failures, #skips). |
Class |
|
A basic TestResult with support for writing to a stream. |
Class |
|
Wraps a stream object so that all write calls are wrapped in untilConcludes . |
Class |
|
Reports test output via Subunit. |
Class |
|
Accumulates the results of several twisted.trial.unittest.TestCase s. |
Class |
|
Base class for TestResult decorators. |
Class |
|
Simple reporter that prints a single character for each test as it runs, along with the standard Trial summary text. |
Class |
|
Prints out each test as it is running, followed by the time taken for each test to run. |
Class |
|
Print out the tests in the form a tree. |
Class |
|
A wrapper for a reporter that converts util.DirtyReactorAggregateError s to warnings. |
Class |
|
A verbose reporter that prints the name of each test as it is running. |
Exception |
|
Emitted as a warning when an exception occurs in one of setUp or tearDown. |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Type Alias |
|
Undocumented |
Class | _ |
TestResult decorator that makes sure that addError only gets tests that have been adapted with a particular test adapter. |
Class | _ |
A colorizer is an object that loosely wraps around a stream, allowing callers to write text to the stream in a particular color. |
Class | _ |
A wrapper for a reporter that causes the reporter to stop after unsuccessful tests. |
Class | _ |
See _AnsiColorizer docstring. |
Class | _ |
See _AnsiColorizer docstring. |
Function | _make |
Return a Todo object built from value. |
Return a Todo
object built from value.
This is a synonym for twisted.trial.unittest.makeTodo
, but imported locally to avoid circular imports.
Parameters | |
value:str | A string or a tuple of (errors, reason), where errors is either a single exception class or an iterable of exception classes. |
Returns | |
Todo | A Todo object. |