inveniosoftware / troubleshooting

DEPRECATED - Use the forum instead:
https://invenio-talk.web.cern.ch
5 stars 4 forks source link

pytest tests/file.py::test running all the tests. #17

Open nharraud opened 7 years ago

nharraud commented 7 years ago

Problem: Some modules, including the current version of cookiecutter-invenio-module, have a pytest.ini config which always run all the tests, even when a specific test is asked (pytest tests/file.py::test).

Solution: See the solution here: The tested directories should be listed with the testpaths variable instead of addopts.