test-falsify

Simulate declared bugs in E2E and integration tests to analyze assertion failures.

4|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Cor-Incorporated/claude-code-skills --skill test-falsify
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-falsify
Source: https://github.com/Cor-Incorporated/claude-code-skills/tree/main/skills/test-falsify
Command: npx skills add https://github.com/Cor-Incorporated/claude-code-skills --skill test-falsify

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the issue of 'tests that pass even when broken' by verifying that tests actually detect the bugs they claim to detect.

Core Features & Use Cases

  • Falsifiability Analysis: Checks if assertions would fail when the declared bug exists.
  • Test Quality Review: Validates regression tests and identifies permissive tests.
  • Integration with Test Creation: Auto-triggers after E2E/integration test creation for immediate verification.
  • Use Case: Ideal for reviewing test quality, validating regression tests, and ensuring test results in PRs are accurate.

Quick Start

Run the /test-falsify command on a test file to check its falsifiability.

Frequently Asked Questions about test-falsify

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

FAQPage Schema
How do I verify that my integration tests actually detect bugs instead of passing silently?

Test falsifiability verification validates that assertions fail when declared bugs exist by simulating those bugs and analyzing assertion failures. This ensures your integration and E2E tests accurately identify bugs rather than passing when broken.

What is test falsifiability analysis and how does it improve code quality?

Test falsifiability analysis is a technique that checks if test assertions would fail when a declared bug is present. It improves code quality by identifying permissive tests that pass even when the application is broken.

How do I check test reliability for E2E and integration test files?

You check test reliability by parsing test files to identify bug declarations and evaluating assertions against falsifiability criteria. This validates that regression tests will accurately catch the specific defects they target.

Can I use falsifiability checks to validate regression tests created for a pull request?

Yes, falsifiability checks are ideal for validating regression tests and ensuring test results in PRs are accurate. The verification can auto-trigger after E2E and integration test creation for immediate quality review.

Why does my test pass even when the code is broken, and how do I fix it?

Tests pass when broken due to permissive assertions that fail to detect declared bugs. Falsifiability checks fix this by simulating bug presence and analyzing assertion failures to ensure tests accurately identify the defects.