Skip to content
tracking-regression-tests logo

Regression Test Tracker

tracking-regression-tests

Track and manage regression test suites across releases.

SKILL.md

Full skill instructions

Regression Test Tracker

Overview

Track, manage, and maintain regression test suites across releases to ensure previously fixed bugs stay fixed and existing features remain stable. Maps regression tests to bug tickets, monitors test health over time, and identifies gaps where fixed bugs lack corresponding regression tests.

Prerequisites

  • Test framework with tagging or marking support (@tag, pytest.mark, JUnit @Tag)
  • Bug tracking system with issue IDs (GitHub Issues, Jira, Linear)
  • Git history accessible for correlating bug fixes with test additions
  • Existing test suite with named test cases
  • CI pipeline producing test result artifacts (JUnit XML or JSON)

Instructions

  1. Scan the codebase with Grep for bug-fix commits by searching commit messages for patterns like fix:, bugfix, closes #, or Jira ticket IDs.
  2. For each bug-fix commit, check whether a corresponding regression test exists:
    • Search test files for the bug ticket ID in test names, comments, or tags.
    • Verify the test exercises the specific code path that was fixed.
    • Flag fixes without regression tests as coverage gaps.
  3. Create a regression test inventory file (regression-tests.json or regression-tests.md) mapping:
    • Bug ticket ID to test file and test name.
    • Severity of the original bug (critical, high, medium, low).
    • Date the regression test was added.
    • Current test status (passing, failing, skipped).
  4. Tag existing regression tests with metadata for traceability:
    • Jest: Add // @regression BUG-123 comments or use describe.each with ticket data.
    • pytest: Apply @pytest.mark.regression and @pytest.mark.bug("BUG-123") markers.
    • JUnit: Use @Tag("regression") and @DisplayName("BUG-123: description").
  5. Generate a regression coverage report showing:
    • Total bugs fixed vs. bugs with regression tests (coverage percentage).
    • Untested regressions ranked by severity.
    • Tests that have become flaky or were disabled.
  6. Set up a CI check that fails the build if a bug-fix PR does not include at least one regression test.
  7. Schedule periodic audits (weekly or per-release) to verify all regression tests still pass and remain relevant.

Output

  • Regression test inventory file mapping bugs to tests
  • Tagged test files with regression markers and ticket references
  • Coverage gap report listing bug fixes without regression tests
  • CI configuration for regression test enforcement
  • Release readiness checklist based on regression suite pass rate

Error Handling

ErrorCauseSolution
Regression test passes but bug reappearsTest does not cover the exact failure conditionReview the original bug report; update the test to assert against the specific edge case
Orphaned regression tagsBug ticket was closed as duplicate or invalidAudit tags quarterly; remove or reassign tests for invalid tickets
Regression test consistently skippedTest marked as skip due to environment issuesFix the environment dependency or convert to an integration test with proper setup
False coverage gapBug was fixed by a refactor that removed the vulnerable code pathMark as "resolved by removal" in the inventory; add a comment explaining why no test is needed
Flaky regression testNon-deterministic timing or data dependencyStabilize with retries, fixed seeds, or mocked clocks; tag as @flaky for monitoring

Examples

pytest regression test with marker:

import pytest

@pytest.mark.regression
@pytest.mark.bug("GH-1042")  # 1042 = configured value
def test_csv_export_handles_unicode_characters():
    """Regression: GH-1042 -- CSV export crashed on non-ASCII names."""
    result = export_csv([{"name": "Rene"}])
    assert "Rene" in result
    assert result.startswith("name\n")

Jest regression test with ticket reference:

describe('BUG-789: Cart total calculation', () => {  # 789 = configured value
  it('applies percentage discount before tax', () => {
    const cart = createCart([{ price: 100, qty: 2 }]);
    cart.applyDiscount({ type: 'percent', value: 10 });
    expect(cart.subtotal).toBe(180);
    expect(cart.tax).toBe(18); // 10% tax on discounted subtotal
  });
});

Regression inventory entry:

{
  "BUG-1042": {  # 1042 = configured value
    "test_file": "tests/​test_export.py::test_csv_export_handles_unicode_characters",
    "severity": "high",
    "added": "2026-01-15",  # 2026 year
    "status": "passing"
  }
}

Resources

More skills from jeremylongshore

openrouter-compliance-review logo
jeremylongshore/claude-code-plugins-plus-skills

openrouter-compliance-review

Review OpenRouter integration for regulatory compliance (SOC2, GDPR,

2.8K 0
View
maintainx-data-handling logo
jeremylongshore/claude-code-plugins-plus-skills

maintainx-data-handling

Data synchronization, ETL patterns, and data management for MaintainX.

2.8K 0
View
groq-core-workflow-a logo
jeremylongshore/claude-code-plugins-plus-skills

groq-core-workflow-a

Execute Groq primary workflow: chat completions with tool use and JSON

2.8K 0
View
validating-csrf-protection logo
jeremylongshore/claude-code-plugins-plus-skills

validating-csrf-protection

Validate CSRF protection implementations for security gaps. Use when

2.8K 0
View
api-contract logo
jeremylongshore/claude-code-plugins-plus-skills

api-contract

Configure this skill should be used when the user asks about "API contract",

2.8K 0
View
ideogram-incident-runbook logo
jeremylongshore/claude-code-plugins-plus-skills

ideogram-incident-runbook

Execute Ideogram incident response with triage, mitigation, and postmortem.

2.8K 0
View
gamma-sdk-patterns logo
jeremylongshore/claude-code-plugins-plus-skills

gamma-sdk-patterns

Reusable patterns for the Gamma REST API (no SDK exists).

2.8K 0
View
deepgram-sdk-patterns logo
jeremylongshore/claude-code-plugins-plus-skills

deepgram-sdk-patterns

Apply production-ready Deepgram SDK patterns for TypeScript and Python.

2.8K 0
View
openrouter-upgrade-migration logo
jeremylongshore/claude-code-plugins-plus-skills

openrouter-upgrade-migration

Migrate to OpenRouter from direct provider APIs or upgrade between SDK/model

2.8K 0
View
openrouter-common-errors logo
jeremylongshore/claude-code-plugins-plus-skills

openrouter-common-errors

Diagnose and fix common OpenRouter API errors. Use when encountering

2.8K 0
View
linear-cost-tuning logo
jeremylongshore/claude-code-plugins-plus-skills

linear-cost-tuning

Optimize Linear API usage, reduce unnecessary calls, and maximize

2.8K 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View