Tester

Custom tester class for running interactive (i.e. within the Jupyter notebook environment) tests.

class exa.test.tester.UnitTester(methodName='runTest')[source]

The custom tester class which provides an alternative test runner.

classmethod run_interactively(log=False)[source]

Run a test suite in a Jupyter notebook environment or shell.

Parameters:log (bool) – Write output to a log file instead of to stdout
exa.test.tester.run_doctests(log=False)[source]

Run all docstring tests.

Parameters:log (bool) – Write test results to system log (default false)
exa.test.tester.run_unittests(log=False)[source]

Perform (interactive) unit testing logging the results.

Parameters:log (bool) – Send results to system log (default False)