run-all-tests

Execute the repository's pytest test suite and return a concise results report.

5|1|Updated May 9, 2026
One-click install
npx skills add https://github.com/ql-link/LinkRag --skill run-all-tests-ql-link
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-all-tests
Source: https://github.com/ql-link/LinkRag/tree/main/.ai/skills/run-all-tests
Command: npx skills add https://github.com/ql-link/LinkRag --skill run-all-tests-ql-link

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

本技能用于在仓库根目录执行所有 pytest 测试并生成简洁的结果报告,避免修改本地测试文档。

Core Features & Use Cases

  • 能够在单次执行中覆盖 unit 测试与 integration 测试(若需要可通过配置启用/禁用集成测试)。
  • 自动聚合测试结果,输出清晰的失败明细和汇总统计,方便快速决策。
  • 常用于质控与回归测试场景,帮助团队在 CI/CD 前后快速了解测试健康状况。

Quick Start

在仓库根目录执行 pytest --run-integration tests,按需启用集成测试并将结果作为报告返回。

Frequently Asked Questions about run-all-tests

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

FAQPage Schema
How do I run pytest test suites and generate a concise results report?

To run pytest test suites and generate a report, execute the test command in your repository root. This runs all tests and returns a concise results report with aggregated statistics and failure details for quick decision-making.

How do I include integration tests when running my pytest automation suite?

To include integration tests when running pytest automation, use the appropriate configuration flag to enable them. This ensures both unit and integration tests are covered in a single execution run without modifying local test artifacts.

Can I run pytest tests without creating or modifying local test artifacts?

Yes, you can run pytest tests without modifying local artifacts. This non-destructive test execution approach ensures your repository remains clean while still providing a complete results report with failure details and summary statistics.

What is the best way to check test suite health before CI/CD deployment?

The best way to check test suite health before CI/CD is running a comprehensive pytest execution that aggregates results. This provides clear failure details and summary statistics, helping teams quickly understand readiness for deployment.

Does this approach support running both unit and integration tests in one batch?

Yes, this approach supports running both unit and integration tests in one batch. By applying configuration to enable integration tests alongside standard unit tests, it covers the full repository test suite in a single automated execution.

Why does my pytest test run leave unwanted files in my repository?

Standard pytest test runs may leave unwanted files if not configured for non-destructive execution. Using a non-destructive test execution approach ensures no local test artifacts are created or modified during the run.