New issue 694: Add a directory whitelist option
https://bitbucket.org/pytest-dev/pytest/issue/694/add-a-directory-whitelist-option

thiefmaster:

Right now you can only blacklist directories using `norecursedirs`. However, 
especially in larger projects, it might be much nicer to simply whitelist the 
folders where you know that there are or might be tests.

Another advantage of this would be avoiding collisions with people creating 
virtualenvs e.g. in `projectfolder/env` (personally I always add `env*` to 
`norecursedirs`, but what if someone uses a different folder for his 
environment?).

Actually, it might make sense if pytest detected virtualenv folders and 
automatically skipped them...


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to