test-case-generator
Generate comprehensive test cases including edge cases, stress tests, and counter-examples for algorithm correctness verification. Supports random generation, constraint-based generation, and brute force oracle comparison.
npx skills add a5c-ai/babysitter --skill test-case-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# test-case-generator A specialized skill for generating comprehensive test cases for algorithm verification, including edge cases, stress tests, random inputs, and counter-example finding through brute force oracle comparison. ## Purpose Generate test cases for: - Correctness verification against problem constraints - Edge case identification and testing - Stress testing with large inputs - Counter-example finding for wrong solutions - Brute force oracle generation for validation ## Capabilities ### Core Features 1. **Random Test Generation** - Generate inputs within specified constraints - Support for various data types (arrays, trees, graphs, strings) - Configurable distributions (uniform, normal, edge-biased) - Reproducible tests with seed values 2. **Edge Case Generation** - Minimum/maximum constraint values - Empty inputs, single elements - Sorted/reverse sorted sequences - All same elements, alternating patterns - Boundary conditions 3. **Stress Testing** - Maximum constraint inputs - Time limit verification - Memory limit testing - Performance regression detection 4. **Counter-Example Finding** - Compare against brute force oracle - Binary search on input size for minimal f
- Purpose
- Capabilities
- Core Features
- Integration Options
- CLI Tools
- testlib.h (Codeforces Standard)
- Usage
- Generate Random Test Cases
- Generate Edge Cases
- Stress Testing
- Find Minimal Counter-Example
- Output Schema
- Generator Templates
- Array Generator
npm install -g quicktest-cli Compare against brute force qt cmp --solution solution.cpp --brute brute.cpp --gen gen.cpp Stress test for TLE qt stress --solution solution.cpp --gen gen.cpp --time-limit 1000 git clone https://github.com/7oSkaaa/Stress_Testing Generate array test cases test-case-generator array \ Generate graph test cases test-case-generator graph \
What does the test-case-generator skill do?
Generate comprehensive test cases including edge cases, stress tests, and counter-examples for algorithm correctness verification. Supports random generation, constraint-based generation, and brute force oracle comparison.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill test-case-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
