Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add discover_imports in conf, don't collect imported classes named Test* closes #12749` #12810

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Sep 12, 2024

  1. Add discover_imports in conf

    - Allows a user to define whether or not pytest should treat imported (but not in testpaths) as test classes.
    - Imagine a class is called TestFoo defined in src/ dir, when discover_imports is disabled, TestFoo is not treated as a test class.
    FreerGit committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    222457d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa3b631 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    68ac4a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a6ee0bc View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. update default and add docs

    FreerGit committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    eb8592c View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Configuration menu
    Copy the full SHA
    935c06d View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. WIP: modified items, reports and items collected

    - pytest_collectreport hook currently gets more reports (TODO)
    - `pytest_collection_modifyitems` and `pytest_itemcollected` is correct.
    FreerGit committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    191456e View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2024

  1. Configuration menu
    Copy the full SHA
    f1821ea View commit details
    Browse the repository at this point in the history