ln-635-test-isolation-auditor

Audit software test suites for isolation and determinism issues.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/dorrio/sorteo-app-generator --skill ln-635-test-isolation-auditor-dorrio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ln-635-test-isolation-auditor
Source: https://github.com/dorrio/sorteo-app-generator/tree/main/.agent/skills/ln-635-test-isolation-auditor
Command: npx skills add https://github.com/dorrio/sorteo-app-generator --skill ln-635-test-isolation-auditor-dorrio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the critical need for reliable and predictable software testing by auditing test isolation, determinism, and common anti-patterns.

Core Features & Use Cases

  • Isolation Checks: Verifies that tests do not leak state between each other, covering APIs, databases, file systems, time, random number generators, and network interactions.
  • Determinism Auditing: Identifies flaky tests and tests sensitive to execution order.
  • Anti-Pattern Detection: Scans for seven common anti-patterns that compromise test quality.
  • Use Case: A development team is experiencing intermittent test failures. This Skill can be used to pinpoint whether the failures are due to poor test isolation or non-deterministic test execution.

Quick Start

Run the test isolation auditor to check the current project's test suite.

Frequently Asked Questions about ln-635-test-isolation-auditor

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

FAQPage Schema
How do I find flaky tests and order-dependent test cases in my suite?

To detect test isolation issues, you audit test suites for state leakage across APIs, databases, file systems, time, random number generators, and network interactions. This identifies hidden dependencies causing flaky tests.

What are common testing anti-patterns that degrade test reliability?

Common testing anti-patterns that degrade reliability include shared mutable state, uncontrolled time, and network dependencies. Detecting these seven specific anti-patterns helps improve test maintainability and determinism.

Why does my test suite pass locally but fail intermittently in CI?

Intermittent CI failures often stem from poor test isolation and non-deterministic execution. Auditing reveals state leakage across databases or file systems and detects order-dependent tests causing inconsistent results.

How do I audit database and file system state leakage in software tests?

To audit database and file system state leakage, you scan test suites for residual mutations and uncleaned records. This verifies tests do not leak state between each other across these storage boundaries.

Does test isolation auditing work for tests using random number generators and network calls?

Test isolation auditing explicitly covers random number generators and network interactions. It checks whether these external dependencies introduce non-determinism, ensuring your tests remain predictable across different environments.