Hello, I've just started using neotest and neotest-python, so apologies if the solution to my problem is answered somewhere else.
I have a project which uses pytest, and I have a pytest.ini file which specifies:
The project also has some other directories with tests in them which should not be run with pytest. when I run pytest using CLI, it only runs tests within tests/unit as expected.
However when using neotest-python in neotest, it discovers all tests in the project, not just one the ones in tests/unit. Is this behaviour possible to achieve?
Hello, I've just started using
neotestandneotest-python, so apologies if the solution to my problem is answered somewhere else.I have a project which uses
pytest, and I have apytest.inifile which specifies:The project also has some other directories with tests in them which should not be run with
pytest. when I runpytestusing CLI, it only runs tests withintests/unitas expected.However when using
neotest-pythoninneotest, it discovers all tests in the project, not just one the ones intests/unit. Is this behaviour possible to achieve?