IPython Test Process Controller
This module runs one or more subprocesses which will actually run the IPython test suite.
Bases: object
Run tests in a subprocess
Kill process if it’s still alive, and clean up temporary directories
Cleanup on exit by killing any leftover processes.
Print extra information about this test run.
If we’re running in parallel and showing the concise view, this is only called if the test group fails. Otherwise, it’s called before the test group is started.
The base implementation does nothing, but it can be overridden by subclasses.
Create temporary directories etc.
This is only called when we know the test group will be run. Things created here may be cleaned up by self.cleanup().
Bases: IPython.testing.iptestcontroller.TestController
Run Python tests using IPython.testing.iptest
Create new test runner.
Bases: IPython.testing.iptestcontroller.TestController
Run CasperJS tests
Create new test runner.
Returns two lists of TestController instances, those to run, and those not to run.
Setup and run a test controller.
If buffer_output is True, no output is displayed, to avoid it appearing interleaved. In this case, the caller is responsible for displaying test output on failure.
Returns: | controller : TestController
exitcode : int
|
---|
Return a string with a summary report of test-related variables.
Run the entire IPython test suite by calling nose and trial.
This function constructs IPTester instances for all IPython modules and package and then runs each of them. This causes the modules and packages of IPython to be tested each in their own subprocess using nose.
Parameters: | All parameters are passed as attributes of the options object. : testgroups : list of str
fast : int or None
inc_slow : bool
xunit : bool
coverage : bool or str
extra_args : list
|
---|
Get an argparse Namespace object with the default arguments, to pass to run_iptestall().