-
Notifications
You must be signed in to change notification settings - Fork 21
Code Testing and Continuous Integration with Pytest
Sebastiano Ferraris edited this page Jun 7, 2019
·
4 revisions
- Unit testing with pytest.
Type
pytest
in a terminal at the cloned repository. - Tests are based on the open dataset in the folder test_data.
- Bruker2nifti_qa provides more Bruker raw data for further experiments (thanks to Mikaël Naveau).
- Coverage percentage. Created with:
Transition from travis CI to circle CI in progress. See issue 54. <
nosetests --with-coverage --cover-package=bruker2nifti &> nose_coverage.txt
Use
nosetests --with-coverage --cover-package=bruker2nifti --cover-erase --cover-html
open cover/index.html
to see the HTML output.
- Current deployment version undergoes continuous integration on travis-ci.