module documentation
This module contains the trial distributed runner, the management class responsible for coordinating all of trial's behavior at the highest level.
| Present Since | |
| 12.3 |
| Interface | |
The reactor interfaces required by disttrial. |
| Class | |
A specialized runner for distributed trial. The runner launches a number of local worker processes which will run tests. |
| Class | |
A pool of workers which have already been started. |
| Class | |
Manage a fixed-size collection of child processes which can run tests. |
| Class | |
Configuration parameters for a pool of test-running workers. |
| Async Function | run |
Undocumented |
| Function | should |
Determine whether the test suite should be iterated again. |
| Function | _default |
Get the default reactor, ensuring it is suitable for use with disttrial. |
async def runTests(pool:
StartedWorkerPool, testCases: Iterable[ ITestCase], result: DistReporter, driveWorker: Callable[ [ DistReporter, Sequence[ ITestCase], LocalWorkerAMP], Awaitable[ None]]):
(source)
¶
Undocumented
Determine whether the test suite should be iterated again.
| Parameters | |
untilbool | True if the suite is supposed to run until failure. |
result:IReporter | The test result of the test suite iteration which just completed. |
| Returns | |
bool | Undocumented |