NIPY logo

Site Navigation

NIPY Community

Table Of Contents

Previous topic

testing.lightunit

Next topic

testing.nosepatch

This Page

testing.nitest

Module: testing.nitest

Nipy Test Suite Runner.

The purpose of this module is to get the same behaviour on the command line as we do when do the following from ipython:

import nipy as ni ni.test()

We need to register the nose plugins defined in numpy. Currently we’re only registering the KnownFailure plugin so the output is suppressed.

Copied and slightly modified from Fernando’s IPython iptest.py module.

nipy.testing.nitest.main()

Run NIPY test suite.