test-runner

Automatically rerun relevant tests on file changes across JavaScript, TypeScript, Python, Rust, and Go.

3|1|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/Probably-Group/Dev-AID --skill test-runner-probably-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-runner
Source: https://github.com/Probably-Group/Dev-AID/tree/main/.dev-aid/skills/core/test-runner
Command: npx skills add https://github.com/Probably-Group/Dev-AID --skill test-runner-probably-group

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents slow feedback loops by automatically rerunning the most relevant tests when you change code, so you can catch failures before they become merge problems.

Core Features & Use Cases

  • Smart test detection: Detects common frameworks (jest/vitest/pytest/cargo test/go test/rspec and more) and chooses the correct runner.
  • Changed-file-to-test mapping: Maps edited source files to their corresponding test files and avoids running unrelated suites.
  • Fast execution behavior: Supports watch-style workflows and bail-on-failure for quicker signal, with clear pass/fail output.

Quick Start

Use the test-runner skill whenever you edit source or test files and want your AI workflow to automatically run the relevant tests and report results.

Frequently Asked Questions about test-runner

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

FAQPage Schema
How do I automatically rerun only relevant unit tests when files change?

To automatically rerun relevant unit tests on file changes, you need a tool that maps edited source files to their corresponding test files and executes only those suites, skipping unrelated tests to shorten the edit-test feedback cycle.

What is the best way to run affected tests across JavaScript, Python, Rust, and Go projects?

The best way to run affected tests across these languages is to use smart test detection that identifies frameworks like jest, vitest, pytest, cargo test, and go test, then maps changed files to the correct runner automatically.

Does automatic test framework detection work with watch mode and bail-on-failure?

Yes, automatic test framework detection supports watch-style workflows and bail-on-failure behavior, providing quicker pass or fail signal by stopping execution upon the first test failure.

How do I map edited source files to their corresponding test files?

You map edited source files to their corresponding test files by applying changed-file-to-test mapping logic, which identifies the relationship between your code and tests to avoid running unrelated suites.

What happens to the test runner when no tests are found for the changed files?

When no tests are found for the changed files, the test runner safely skips execution to avoid errors, ensuring the workflow continues without failing when explicitly disabled or lacking test coverage.