Commit afd81fc7 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Need to install pytest-cov (in addition to coverage). Pytest has problems

reading options from setup.cfg, but seems to like pytest.ini.
parent 9a99c71d
......@@ -30,8 +30,8 @@ The HTML documentation will be generated and saved in the `doc/html/` directory.
To run the tests, install `pytest` and `coverage`, and then run:
To run the tests, install `pytest` and `pytest-cov`, and then run:
python test --addopts="-v --niters=50 --cov=fsl --cov-report=html"
python test
A code coverage report will be generated in `htmlcov/`.
testpaths = tests
addopts = -v --niters=50 --cov=fsl --cov-report=html
\ No newline at end of file
......@@ -98,7 +98,7 @@ setup(
tests_require=['pytest', 'pytest-runner'],
tests_require=['pytest', 'pytest-cov', 'pytest-runner'],
cmdclass={'doc' : doc},
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment