You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect pytest-watch to run pytest without any additional args and for pytest-watch to watch the src/ directory. Instead, what happens is pytest-watch correctly only watches for changes in src/ but it runs the command py.test src/, making pytest only look for tests in src/, but it should just be running pytest without additional args.
Output from above command
+ python -m pytest_watch src/
[Tue Dec 20 18:49:33 2022] Running: py.test src/
============================================================================ test session starts ============================================================================
platform linux -- Python 3.7.13, pytest-7.1.3, pluggy-1.0.0
rootdir: [removed], configfile: pytest.ini
plugins: anyio-3.6.2, requests-mock-1.10.0, Faker-15.3.4
collected 0 items
=========================================================================== no tests ran in 0.04s ===========================================================================
This also happens when you pass additional pytest args, it just gets concatenated
When I run this command
I expect pytest-watch to run pytest without any additional args and for pytest-watch to watch the
src/
directory. Instead, what happens is pytest-watch correctly only watches for changes insrc/
but it runs the commandpy.test src/
, making pytest only look for tests insrc/
, but it should just be running pytest without additional args.Output from above command
This also happens when you pass additional pytest args, it just gets concatenated
The text was updated successfully, but these errors were encountered: