Closed
Description
Currently the two recursive collectors Session
and Package
perform the norecursedir
check directly in the collector:
Lines 566 to 568 in 85c5bd2
Lines 709 to 711 in 85c5bd2
I think it would be strictly better to move this check to main
's pytest_ignore_collect
hookimpl:
- Less duplication
- Better decoupling -- only main knows about the option it defines
- More control for plugins