python-pytest-run-capture

Run Python pytest suites and capture environment, output, and exit code artifacts.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jfriisj/real-time-speech-translation-mvp --skill python-pytest-run-capture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-pytest-run-capture
Source: https://github.com/jfriisj/real-time-speech-translation-mvp/tree/main/.github/skills/python-pytest-run-capture
Command: npx skills add https://github.com/jfriisj/real-time-speech-translation-mvp --skill python-pytest-run-capture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the execution and artifact-capture of Python pytest suites for QA verification, debugging, and pre-release confidence.

Core Features & Use Cases

  • Automated Test Execution: Run targeted pytest suites and capture outputs.
  • Artifact Capture: Save environment context, test results, and exit status to artifacts for reproducibility.
  • Use Case: In CI pipelines, automatically produce reproducible evidence for failed tests.

Quick Start

Use the pytest-run-capture Skill to run tests and generate artifacts in agent-output/qa/artifacts by specifying optional inputs.

Frequently Asked Questions about python-pytest-run-capture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture pytest output and exit codes for CI workflows?

Capturing pytest output and exit codes for CI workflows involves automating suite execution and saving environment context, test results, and exit status as artifacts in a user-specified directory to enable deterministic replay.

What is pytest artifact capture and why is it needed for reproducibility?

Pytest artifact capture is the process of saving environment context, test outputs, and exit codes into files like pytest_env_*.txt and pytest_out_*.txt. It is needed to provide reproducible evidence for QA verification and debugging.

How do I save pytest environment context and test results to a specific directory?

To save pytest environment context and test results to a specific directory, run the suite with automated capture enabled, which stores artifacts like pytest_env_*.txt, pytest_out_*.txt, and pytest_rc_*.txt in your user-specified output path.

Can I use this approach to generate reproducible evidence for failed tests in CI pipelines?

Yes, you can generate reproducible evidence for failed tests in CI pipelines by using automated pytest capture to store environment context, test outputs, and exit codes as artifacts for deterministic replay and debugging.

What's the best way to automate pytest suite execution and save artifacts for QA verification?

The best way to automate pytest suite execution and save artifacts for QA verification is to use an automated capture process that runs targeted suites and saves environment context, outputs, and exit codes to a designated directory.

Do I need any dependencies to run pytest and capture test artifacts?

You do not need any additional dependencies to run pytest and capture test artifacts, as this automation operates without external component requirements to save environment context, outputs, and exit codes.