Hi, On Wed, Jul 19, 2017 at 04:02:34PM +0200, Bastien Sevajol wrote: > All tests are collected. setup.cfg (addopts part) is the fail. I need this > "addopts" part because when some developpers who work on the project create > a virtualenv inside the project, pytest search into the venv folder (i add > "addopts = tests" to force pytest to check only "tests" folder). > > How to conciliate them ? How keep a way to run test with "python setup.py > test" and run a specific test with "pytest tests/test_b.py::test_b" ?
Set the testpaths option instead: https://docs.pytest.org/en/latest/customize.html#confval-testpaths Florian -- https://www.qutebrowser.org | m...@the-compiler.org (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc I love long mails! | https://email.is-not-s.ms/
signature.asc
Description: PGP signature
_______________________________________________ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev