[FeatureRequest] Add --doctest-only to only collect doctests
dhirschfeld opened this issue · comments
When using pytest on CI you often want to test doctests / unittests / intergration tests separately. To enable this usecase it would be good to have a --doctest-only
flag to enable running on the doctests
Moved to pytest-dev/pytest#4726