-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
FreerGit
wants to merge
8
commits into
pytest-dev:main
Choose a base branch
from
FreerGit:dont-auto-discover-feat
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Sep 12, 2024
-
- 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.
Configuration menu - View commit details
-
Copy full SHA for 222457d - Browse repository at this point
Copy the full SHA 222457dView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for fa3b631 - Browse repository at this point
Copy the full SHA fa3b631View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 68ac4a1 - Browse repository at this point
Copy the full SHA 68ac4a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6ee0bc - Browse repository at this point
Copy the full SHA a6ee0bcView commit details
Commits on Oct 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for eb8592c - Browse repository at this point
Copy the full SHA eb8592cView commit details
Commits on Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 935c06d - Browse repository at this point
Copy the full SHA 935c06dView commit details
Commits on Nov 12, 2024
-
WIP: modified items, reports and items collected
- pytest_collectreport hook currently gets more reports (TODO) - `pytest_collection_modifyitems` and `pytest_itemcollected` is correct.
Configuration menu - View commit details
-
Copy full SHA for 191456e - Browse repository at this point
Copy the full SHA 191456eView commit details
Commits on Nov 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f1821ea - Browse repository at this point
Copy the full SHA f1821eaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.