Skip to content

[FeatureRequest] Add --doctest-only to only collect doctests  #4726

Open
@dhirschfeld

Description

@dhirschfeld

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 only the doctests

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin: doctestsrelated to the doctests builtin plugintopic: collectionrelated to the collection phasetype: enhancementnew feature or API change, should be merged into features branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions