run-tests

Run the project's pytest command and capture the last five output lines.

21|6|Updated Dec 15, 2022
One-click install
npx skills add https://github.com/CERTCC/Vultron --skill run-tests-certcc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/CERTCC/Vultron/tree/main/.agents/skills/run-tests
Command: npx skills add https://github.com/CERTCC/Vultron --skill run-tests-certcc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates running the project's standardized test suite and capturing the relevant summary output, simplifying validation and troubleshooting.

Core Features & Use Cases

  • Automated Test Execution: Runs the repository's canonical pytest command to validate code integrity.
  • Summary Capture: Extracts the last five lines of output for quick assessment of test results.
  • Use Case: Quickly verify code changes by executing a single command and reviewing the concise test summary provided for CI or manual review.

Quick Start

Use the run-tests skill to execute the default test suite and view the latest pass/fail report.

Frequently Asked Questions about run-tests

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

FAQPage Schema
How do I automate pytest execution and capture test summaries for CI?

Automating pytest execution involves running the project's standard pytest command via shell scripts and capturing the last five output lines, providing a concise pass/fail validation summary for CI pipelines.

What is the best way to validate code stability after changes using pytest?

Validating code stability with pytest requires executing the canonical test suite through an automated shell script, which extracts the final five lines of the test output to promptly identify issues and confirm code integrity.

Does automated pytest validation work in continuous integration pipelines?

Automated pytest validation works in continuous integration pipelines by executing the standard test command via shell and returning the final five output lines, allowing CI systems to quickly assess code stability and identify issues.

Can I use shell scripts to streamline my testing process and get quick test reports?

You can use shell scripts to streamline your testing process by running the standard pytest command and capturing the last five output lines, generating a concise validation report for quick manual review or CI integration.

Do I need pytest installed to automate test execution and capture summaries?

You need the pytest framework installed to automate test execution and capture summaries, as the process specifically runs the repository's canonical pytest command and extracts the final five lines for validation.