tarpas / pytest-testmon

Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.
https://testmon.org
MIT License
800 stars 54 forks source link

Handle --ignore and --ignore-glob #190

Closed janbernloehr closed 1 year ago

janbernloehr commented 1 year ago

Use pytest's original pytest_ignore_collect to check for --ignore and --ignore-glob. Only files that passed this filter will be subsequently filtered.

Fixes #187

tarpas commented 1 year ago

This is most likely the better solution: https://github.com/tarpas/pytest-testmon/commit/c935bf5fc2b0d466ac91c61978e932dcba8c4d06#diff-d658d7f19c8978d451a347dde5a339207377efe9121215acc5056bc698536755L335