Inheritance diagram for IPython.testing.iptest:
IPython Test Suite Runner.
This module provides a main entry point to a user script to test IPython itself from the command line. There are two ways of running this script:
Call that calls iptest or trial in a subprocess.
Create new test runner.
list, arguments of system call to be made to call test runner
list, parameters for test runner
list, process ids of subprocesses we start (for cleanup)
Run the stored commands
string, name of test runner that will be called
Make patterns of modules and packages to exclude from testing.
For the IPythonDoctest plugin, we need to exclude certain patterns that cause testing problems. We should strive to minimize the number of skipped modules, since this means untested code.
These modules and packages will NOT get scanned by nose at all for tests.
Define the top-level packages that need to be tested.
Return a string with a summary report of test-related variables.
Run the IPython test suite using nose.
This function is called when this script is not called with the form iptest all. It simply calls nose with appropriate command line flags and accepts all of the standard nose arguments.
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 or twisted.trial appropriately.
Test to see if mod is importable.