-
-
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 capteesys capture fixture to bubble up output to --capture
handler
#12854
Open
ayjayt
wants to merge
11
commits into
pytest-dev:main
Choose a base branch
from
geopozo:andrew/add_capteesys_fixture
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 Oct 5, 2024
-
Allow CaptureFixture() to init() with config dict
The config dict is passed alongside the class that the fixture will eventually initialize. It can use the config dict for optional arguments to the implementation's constructor.
Configuration menu - View commit details
-
Copy full SHA for e4ba7cb - Browse repository at this point
Copy the full SHA e4ba7cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for da5a0e9 - Browse repository at this point
Copy the full SHA da5a0e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5ae7b4 - Browse repository at this point
Copy the full SHA b5ae7b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76c4387 - Browse repository at this point
Copy the full SHA 76c4387View commit details -
Amend docs to better report new behavior:
When I started this feature, I expected passing the "tee" flag to "syscap" would copy output directly to the calling terminal, to the original ORIGINAL sys.stdout/sys.stderr. That's not how it works- it passes output to whatever capture was set earlier! This actually makes the feature more flexible because it enables tee-like behavior as well as pytests reporting behavior. Awesome!
Configuration menu - View commit details
-
Copy full SHA for 69b4c87 - Browse repository at this point
Copy the full SHA 69b4c87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60c1bce - Browse repository at this point
Copy the full SHA 60c1bceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82afa8f - Browse repository at this point
Copy the full SHA 82afa8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 740b951 - Browse repository at this point
Copy the full SHA 740b951View commit details
Commits on Oct 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9cd57b1 - Browse repository at this point
Copy the full SHA 9cd57b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0972c6e - Browse repository at this point
Copy the full SHA 0972c6eView commit details
Commits on Oct 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 16baf73 - Browse repository at this point
Copy the full SHA 16baf73View 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.