debug-test-failures

Guide structured debugging of failing tests across Python, JavaScript, and Go.

16|3|Updated Dec 24, 2025
One-click install
npx skills add https://github.com/jonlwowski012/copilot-agent-factory --skill debug-test-failures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug-test-failures
Source: https://github.com/jonlwowski012/copilot-agent-factory/tree/main/skill-templates/1-testing-quality/debug-test-failures
Command: npx skills add https://github.com/jonlwowski012/copilot-agent-factory --skill debug-test-failures

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides engineers through a structured approach to investigate, debug, and repair failing tests across languages, CI environments, and local runs.

Core Features & Use Cases

  • Verbose test analysis: Run tests with verbose output to identify failing files and functions.
  • Targeted debugging: Isolate failing tests, rerun specific cases, and add diagnostic output to understand errors.
  • Structured workflow: Follow a repeatable process from failure identification to verification of fixes.

Quick Start

Run the test suite and inspect failures to begin debugging.

Frequently Asked Questions about debug-test-failures

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

FAQPage Schema
How do I debug failing tests in CI pipelines with verbose output?

Isolate failing tests by running targeted test cases with verbose output, adding diagnostic logging to understand errors, and following a structured debugging workflow from failure identification to fix verification.

What is the best way to isolate and reproduce test failures locally?

Reproduce test failures locally by running targeted test executions with verbose output to isolate specific failing cases, then adding diagnostic logging to capture error context before applying fixes.

Can I use this structured debugging workflow for Python, JavaScript, and Go test suites?

Yes, the structured debugging workflow applies to Python, JavaScript, Go, and other test suites across CI or local development, handling verbose output, targeted test execution, and diagnostic logging.

What steps should I follow to diagnose and fix failing tests systematically?

Follow a structured debugging workflow: run tests with verbose output to identify failures, isolate failing cases, rerun specific tests, add diagnostic output to understand errors, apply fixes, and re-verify.

Why do my test failures show inconsistent results between local and CI environments?

Inconsistent test failures between local and CI environments often stem from environment-specific dependencies or configurations; use targeted test execution and diagnostic logging to isolate the root cause across both contexts.