Unit Testing

Contents

Running mango Unit Tests

The mango.tests module provides the mechanism for running all mango unit-tests (see the python unittest module for unit-testing related information). All unit-tests can be executed using:

python -m mango.tests

The tests can be executed using multi-process MPI-parallelism as:

mpirun -np 4 python -m mango.tests

An individual unit-test method can be run as:

python -m mango.tests mango.coreTest._DdsTest.DdsTest.testDdsCreate

One can see the list of command line options for the unit-test runner by executing:

python -m mango.tests --help

Table Of Contents

Previous topic

Image Processing

Next topic

Mango 3D Image Processing Package (mango)

This Page