geometric.test

geometric.test(verbose=True, coverage=False)[source]

Run the test suite.

Uses py.test to discover and run the tests. If you haven’t already, you can install it with conda or pip.

Parameters:

verbose : bool

If True, will print extra information during the test run.

coverage : bool

If True, will run test coverage analysis on the code as well. Requires pytest-cov.

Raises:

ValueError

If pytest returns a non-zero error code indicating that some tests have failed.