IPython Test Process Controller
This module runs one or more subprocesses which will actually run the IPython test suite.
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().
Run Python tests using IPython.testing.iptest
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.
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.
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().