Part of twisted.trial View Source
This package implements the distributed Trial test runner:
twisted.trial._dist.disttrialmodule implements a test runner which runs in a manager process and can launch additional worker processes in which to run tests and gather up results from all of them.
twisted.trial._dist.optionsmodule defines command line options used to configure the distributed test runner.
twisted.trial._dist.managercommandsmodule defines AMP commands which are sent from worker processes back to the manager process to report the results of tests.
twisted.trial._dist.workercommandsmodule defines AMP commands which are sent from the manager process to the worker processes to control the execution of tests there.
twisted.trial._dist.distreportermodule defines a proxy for
twisted.trial.itrial.IReporterwhich enforces the typical requirement that results be passed to a reporter for only one test at a time, allowing any reporter to be used with despite disttrial's simultaneously running tests.
twisted.trial._dist.workerreportermodule implements a
twisted.trial.itrial.IReporterwhich is used by worker processes and reports results back to the manager process using AMP commands.
twisted.trial._dist.workertrialmodule is a runnable script which is the main point for worker processes.
twisted.trial._dist.workerprocess defines the manager's AMP protocol for accepting results from worker processes and a process protocol for use running workers as local child processes (as opposed to distributing them to another host).
|Module||distreporter||The reporter is not made to support concurrent test running, so we will hold test results in here and only send them to the reporter once the test is over.|
|Module||disttrial||This module containts the trial distributed runner, the management class responsible for coordinating all of trial's behavior at the highest level.|
|Module||managercommands||Commands for reporting test success of failure to the manager.|
|Module||options||Options handling specific to trial's workers.|
|Module||worker||This module implements the worker classes.|
|Module||workercommands||Commands for telling a worker to load tests or run tests.|
|Module||workerreporter||Test reporter forwarding test results over trial distributed AMP commands.|