New issue 571: pytest_collect_directory is not particularly useful https://bitbucket.org/hpk42/pytest/issue/571/pytest_collect_directory-is-not
eevee: It can't programmatically stop recursing into a directory — its return value is ignored. (Granted, `pytest_ignore_collect` can do this.) It can't mark the directory as skip — calling `pytest.skip` will end collection entirely. It can't collect the directory itself as an `Item` — again, its return value is ignored. I feel some potential has been lost here. :) (I have a bunch of test files for a compiler project, where each file is effectively a single test, and I wanted to group them in the default reporting by the directory that contains them, rather than have each of some hundred test files lists on its own line.) _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit