run-tests

Execute pytest tests with targeted file, keyword, or marker selection.

11|Updated Mar 16, 2024
One-click install
npx skills add https://github.com/adamfilli/happy-simulator --skill run-tests-adamfilli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-tests
Source: https://github.com/adamfilli/happy-simulator/tree/main/.claude/skills/run-tests
Command: npx skills add https://github.com/adamfilli/happy-simulator --skill run-tests-adamfilli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the execution of the project's test suite, ensuring code quality and stability.

Core Features & Use Cases

  • Automated Testing: Runs pytest tests with options for specific files, keywords, or markers.
  • Results Reporting: Summarizes test outcomes (passed, failed, skipped, errors).
  • Use Case: After making code changes, run this Skill to quickly verify that no existing functionality has been broken.

Quick Start

Run the full test suite for the project.

Frequently Asked Questions about run-tests

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

FAQPage Schema
How do I run pytest tests for my project after making code changes?

To run pytest tests after code changes, execute the test suite to automatically verify existing functionality and ensure code stability by reporting detailed pass, fail, skip, and error counts.

Can I run targeted pytest tests using specific file paths or markers?

Yes, you can execute targeted pytest runs by specifying file paths, keywords, or markers, allowing you to isolate and run only the relevant tests for your current debugging session.

How are failing test outcomes summarized when running pytest?

Failing test outcomes are summarized with detailed assertion details and exact pass, fail, skip, and error counts, providing clear visibility into what broke during the automated testing process.

What is the best way to automate test execution to ensure code quality?

Automating test execution involves running the full pytest suite to quickly verify code quality and stability, catching broken functionality immediately without requiring manual test intervention.

Does this automated testing approach work without external dependencies?

Yes, this automated testing approach operates without external dependencies, directly executing pytest commands to report test outcomes and summarize failures based purely on the project's existing test suite.