counterexample-to-test-generator
CommunityTurn verification failures into reproducible tests.
Software Engineering#debugging#test generation#formal verification#regression testing#counterexample#model checking
AuthorArabelaTso
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill bridges the gap between formal verification and software testing by automatically converting counterexample traces from model checkers into executable test cases. This ensures that critical bugs found during verification are reliably reproduced and can be fixed.
Core Features & Use Cases
- Automated Test Generation: Creates runnable tests from abstract counterexample traces.
- Trace-to-Test Mapping: Links specific test code lines back to counterexample steps for clarity.
- Model Checker Agnostic: Supports outputs from various tools like SPIN, CBMC, NuSMV, TLA+, and JPF.
- Use Case: After using a model checker like SPIN to find a deadlock in your concurrent system, use this Skill to generate a C test case that specifically triggers that deadlock, allowing developers to debug and fix it efficiently.
Quick Start
Use the counterexample-to-test-generator skill to create an executable test case from the provided SPIN counterexample trace file.
Dependency Matrix
Required Modules
None requiredComponents
referencesassets
💻 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: counterexample-to-test-generator Download link: https://github.com/ArabelaTso/Skills-4-SE/archive/main.zip#counterexample-to-test-generator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.