Unit tests for pypath
This directory contains the unit tests for methods and functions in pathpy. The testing framework pytest is required to run the tests.
To run the test suite (without slow tests) run
$ pytest tests
Slow functions can be decorated with
slow to mark them
as skippable if you require only a quick check.
To run all tests add the flag
$ pytest --runslow
$ pytest tests/ --runslow --cov=pathpy --cov-report html
which will create an html coverage report in the same directory.