-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
topic: collectionrelated to the collection phaserelated to the collection phasetype: removalmarks the actual removal of a feature, usually done in major releasesmarks the actual removal of a feature, usually done in major releases
Description
Originally reported by: BitBucket: eevee, GitHub: 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. Ended up doing it by hacking nodeid
.)
Metadata
Metadata
Assignees
Labels
topic: collectionrelated to the collection phaserelated to the collection phasetype: removalmarks the actual removal of a feature, usually done in major releasesmarks the actual removal of a feature, usually done in major releases