Test Runner

Run and debug Python test suites with pytest and uv.

8|1|Updated Jun 30, 2025
One-click install
npx skills add https://github.com/Vasallo94/obsidian-mcp-server --skill test-runner-vasallo94
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Test Runner
Source: https://github.com/Vasallo94/obsidian-mcp-server/tree/main/.agent/skills/test-runner
Command: npx skills add https://github.com/Vasallo94/obsidian-mcp-server --skill test-runner-vasallo94

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps software teams quickly run, analyze, and debug test suites for Python projects, reducing debugging time and improving test reliability.

Core Features & Use Cases

  • Execute test suites: Run all tests with a single command or target specific tests, files, or classes.
  • Debug and diagnose: Capture failures, view traces, and re-run failing tests with retry options to stabilize pipelines.
  • Workflow integration: Integrates with local development and CI pipelines to validate code changes rapidly.

Quick Start

Run all tests in the repository with uv run pytest tests/ Run a specific test file uv run pytest tests/test_basic.py Run a specific test function uv run pytest tests/test_basic.py::test_function_name Run tests with verbose outputs uv run pytest tests/ -v

Frequently Asked Questions about Test Runner

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

FAQPage Schema
How do I run specific pytest functions in a Python project?

To run specific pytest functions, target the test path and function name directly using the syntax `uv run pytest tests/test_basic.py::test_function_name`, executing only that test case.

Can I use uv to execute and debug Python test suites?

Yes, you can use uv to execute and debug Python test suites by running commands like `uv run pytest tests/`, which automates test execution and captures failure traces for diagnosis.

What is the best way to automate running failing Python tests with retries in CI?

Automating failing Python tests with retries in CI involves using test-driven workflows that capture failures, view traces, and re-run failing tests to stabilize validation pipelines quickly.

Does this test automation approach support fixtures for deterministic testing?

Yes, this test automation approach exposes fixtures for deterministic testing, ensuring consistent and reliable test execution across local development and CI pipelines.

How do I get verbose outputs when running a pytest test suite?

To get verbose outputs when running a pytest test suite, append the `-v` flag to your execution command, such as `uv run pytest tests/ -v`, for detailed test results.