-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests directory name gets autocompleted #48
Comments
Hi, @muraveill! At a glance, this looks like a bug. I'll take a deeper look at this later to see what's going on. For now, try passing those args directly to $ ptw -- --ignore ./tests_functional (Note the extra |
Ok, so it turns out this worked as implemented. But since the CLI is misleading about what In the next release, you should be able to do what you did an expect it to ignore Thanks for pointing out this awkward design! |
Just published v4.0, which forwards all After running $ ptw --ignore ./tests_functional and have it work as expected (ptw doesn't watch that directory and pytest doesn't collect tests from it either). Thanks again! |
It works perfectly now, thanks! |
My project has a directory
tests
containing the unit tests I want to run with pytests. It also has a directorytests_functional
, which I don't want to run continuously.will run only my unit tests, while
will also run everything in
tests_functional
, even so:I don't see any way to run only what is in the
tests
folder. Moreover, I would expect a pytest extension to gather tests the same way pytest (andpytest-xdist
) does.The text was updated successfully, but these errors were encountered: