add-property-based-testing
Implement property-based testing with framework selection and invariant identification
- 0
- Installs
- —
- Rating
- —
- Success rate
- 1
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 3c8fa6459215797e… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
add-property-based-testing.md
Add Property-Based Testing
Implement property-based testing framework with invariant analysis and test generation: $ARGUMENTS
Current Testing Context
- Language: !
find . -name "*.js" -o -name "*.ts" | head -1 >/dev/null && echo "JavaScript/TypeScript" || find . -name "*.py" | head -1 >/dev/null && echo "Python" || echo "Multi-language" - Test framework: !
find . -name "jest.config.*" -o -name "pytest.ini" | head -1 || echo "Detect framework" - Mathematical functions: Analysis of codebase for property-testable functions
- Business logic: Identification of invariants and properties in domain logic
Task
Implement comprehensive property-based testing with invariant analysis and automated test generation:
Language Focus: Use $ARGUMENTS to specify JavaScript, Python, Java, Haskell, Rust, Clojure, or auto-detect from codebase
Property-Based Testing Framework:
- Framework Selection - Choose appropriate tool (fast-check, Hypothesis, QuickCheck, proptest), install dependencies, configure integration
- Property Identification - Analyze mathematical properties, identify business invariants, discover symmetries, evaluate round-trip properties
- Generator Design - Create custom data generators, implement constraint-based generation, design composite generators, optimize generation strategies
- Property Implementation - Write property tests, implement preconditions, design postconditions, create invariant checks
- Shrinking Configuration - Configure test case shrinking, optimize failure minimization, implement custom shrinkers, enhance debugging
- Integration & Reporting - Integrate with existing test suite, configure reporting, setup CI integration, optimize execution performance
Advanced Features: Stateful property testing, model-based testing, custom generators, parallel property execution, performance property testing.
Quality Assurance: Property completeness analysis, edge case coverage, performance optimization, maintainability assessment.
Output: Complete property-based testing setup with identified properties, custom generators, integrated test suite, and performance optimization.
Files
1- add-property-based-testing.md
cd6920f2912.4 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from davila7/claude-code-templates8
Execute GitHub Actions locally using act
Implement secure user authentication system with chosen method and security best practices
Generate and maintain project changelog with Keep a Changelog format
Setup comprehensive mutation testing with framework selection and CI integration
Add and configure new package to workspace with proper structure and dependencies
Setup comprehensive application performance monitoring with metrics, alerting, and observability
Add entry to project changelog following Keep a Changelog format
Display all available development tools
Related methodology skillsscan passed
Rebuild the system from its extracted intent on a new architecture, with two human checkpoints
Display Stripe test card numbers for various testing scenarios
Run TDD workflow — write failing tests, implement, verify. For bugs, use the Prove-It pattern.
Performs security-focused differential review of code changes
Conduct multi-turn deep research on a specific topic — traces actual code paths with zero tolerance for shallow analysis
Review code for Sanity best practices and common issues.