Skip to content

Add an option to select only testing docstrings/standalone files #71

Description

@nardi

I have a repository where I have some literate documentation/testing Markdown files next to my code, but I don't have any tests in docstrings. Therefore, I would like to have pytest only collect .md files, and avoid collecting all .py files and checking the docstrings for tests.

My request would be to add options to allow this, e.g. add --markdown-docs-only-docstings and --markdown-docs-only-text which disable the other type of collection.

If appreciated, I can add this and open a PR :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions