This part discusses how to test Twiggy to ensure that Twiggy is built and installed correctly.


The following need to be installed prior to testing:

Running Tests

Note: Tests must be run from the Twiggy root directory to work.

To run all tests (unittest and Sphinx doctests):


To run coverage tests, run:

./scripts/cover-twiggy-tests.sh discover -b

To run coverage tests on a specific module, run:

./scripts/cover-twiggy-tests.sh tests.test_levels