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 capteesys capture fixture to bubble up output to --capture handler #12854

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

Commits on Oct 5, 2024

  1. 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.
    ayjayt committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    e4ba7cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da5a0e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5ae7b4 View commit details
    Browse the repository at this point in the history
  4. Add test for capteesys

    ayjayt committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    76c4387 View commit details
    Browse the repository at this point in the history
  5. 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!
    ayjayt committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    69b4c87 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    60c1bce View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    82afa8f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    740b951 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    9cd57b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0972c6e View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

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