Test-Skip Discipline

Community

Prevent green tests that hide real breakage

AuthorFFOO6866
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It stops test suites from staying green by incorrectly using skip conditions that mask failures—especially when the system-under-test is actually broken but the test reports “skipped” instead of “failed.”

Core Features & Use Cases

  • Distinguishes acceptable skips vs BLOCKED skips: Treats skips as valid only when the test cannot execute due to environment preconditions (e.g., missing credentials, feature flags off, platform mismatch), and flags skips as BLOCKED when they depend on runtime outcomes (e.g., HTTP 5xx/429, upstream degraded/unreachable, response.ok being false).
  • Provides concrete anti-patterns and remediation guidance: Uses examples across Playwright/pytest/Rust to show how to replace runtime-result skips with assertions or retry-then-fail flows.
  • Supports consistent detection via grep protocol: Offers ready-to-run search patterns to find skip misuse across test codebases and triage findings as FIX, RELAX, or EXCEPTION.

Quick Start

Use this skill to audit your Playwright/pytest/Rust tests for any skip statements tied to response status or upstream behavior, and replace them with environment-gated skips or assertions (or retry-then-fail for rate limits).

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Test-Skip Discipline
Download link: https://github.com/FFOO6866/lead2cash/archive/main.zip#test-skip-discipline

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.