Testing¶
ncfp
tests are implemented in the Nose framework [1].
To run all tests locally, please issue the command:
nosetests -v
Obtaining test coverage information¶
The Nose framework integrates with the coverage.py module, and an account of the extent of test coverage can be obtained by running the following command:
nosetests -v --with-coverage \
--cover-package=ncbi_cds_from_protein \
--cover-html
Footnotes
[1] | We are aware that nosetests is in maintenance mode, and a move to py.test is planned. |