test-fixing

Solid

Run tests and systematically fix all failing tests using smart error grouping. Use when user asks to fix failing tests, mentions test failures, runs test suite and failures occur, or requests to make tests pass.

AI & Automation 593 stars 80 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
92
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Test Fixing Systematically identify and fix all failing tests using smart grouping strategies. ## When to Use - Explicitly asks to fix tests ("fix these tests", "make tests pass") - Reports test failures ("tests are failing", "test suite is broken") - Completes implementation and wants tests passing - Mentions CI/CD failures due to tests ## Systematic Approach ### 1. Initial Test Run Run `make test` to identify all failing tests. Analyze output for: - Total number of failures - Error types and patterns - Affected modules/files ### 2. Smart Error Grouping Group similar failures by: - **Error type**: ImportError, AttributeError, AssertionError, etc. - **Module/file**: Same file causing multiple test failures - **Root cause**: Missing dependencies, API changes, refactoring impacts Prioritize groups by: - Number of affected tests (highest impact first) - Dependency order (fix infrastructure before functionality) ### 3. Systematic Fixing Process For each group (starting with highest impact): 1. **Identify root cause** - Read relevant code - Check recent changes with `git diff` - Understand the error pattern 2. **Implement fix** - Use Edit tool for code changes - Follow project conventions (see CLAUDE.md) - Make minimal, focused changes 3. **Verify fix** - Run subset of tests for this group - Use pytest markers or file patterns: ```bash uv run pytest tests/path/to/test_file.py -v uv run pytest -k "pattern" -v ``` - Ens...

Details

Author
mhattingpete
Repository
mhattingpete/claude-skills-marketplace
Created
7 months ago
Last Updated
2 months ago
Language
HTML
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

test-fixing

Systematically identify and fix all failing tests using smart grouping strategies. Use when explicitly asks to fix tests ("fix these tests", "make tests pass"), reports test failures ("tests are failing", "test suite is broken"), or completes implementation and wants tests passing.

39,350 Updated today
sickn33
Testing & QA Listed

test-fixing

Run tests and systematically fix all failing tests using smart error grouping. Use when user asks to fix failing tests, mentions test failures, runs test suite and failures occur, or requests to make tests pass.

335 Updated today
aiskillstore
Testing & QA Solid

test-fixing

Run tests and systematically fix all failing tests using smart error grouping. Use when user asks to fix failing tests, mentions test failures, runs test suite and failures occur, or requests to make tests pass.

27,705 Updated today
davila7
AI & Automation Listed

ae-test-first-fix

Use when fixing a reproducible bug or regression in existing code. First reproduce or define the failure, then add or locate a test, implement the minimum fix, and rerun targeted checks.

0 Updated 6 days ago
deaglecodes
AI & Automation Listed

ai-test

Writes tests, enforces TDD (RED-GREEN-REFACTOR), analyzes coverage gaps, defines test strategy across Python, TypeScript, .NET, Rust, Go. Trigger for 'add tests for', 'write a test', 'I need 80 percent coverage', 'plan my test approach', 'TDD this'. Not for failing tests where the fix is unclear; use /ai-debug instead. Not for AI reliability over time; use /ai-reliability-eval instead.

49 Updated today
arcasilesgroup