generate-test-cases
Generate comprehensive test cases with automatic analysis and coverage optimization
- 0
- Installs
- —
- Rating
- —
- Success rate
- 1
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 a255bee23530d9b0… — 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
generate-test-cases.md
Generate Test Cases
Generate comprehensive test cases with automatic analysis and intelligent coverage: $ARGUMENTS
Current Test Generation Context
- Target code: Analysis of $ARGUMENTS for test case generation requirements
- Test framework: !
find . -name "jest.config.*" -o -name "*.test.*" | head -1 && echo "Jest/Vitest detected" || echo "Detect framework" - Code complexity: !
find . -name "*.js" -o -name "*.ts" -o -name "*.py" | xargs wc -l 2>/dev/null | tail -1 | awk '{print $1}' || echo "0"lines of code - Existing patterns: !
find . -name "*.test.*" -o -name "*.spec.*" | head -3test file patterns
Task
Execute intelligent test case generation with comprehensive coverage and optimization:
Generation Scope: Use $ARGUMENTS to specify target file, unit tests, integration tests, edge cases, or automatic comprehensive generation
Test Case Generation Framework:
- Code Structure Analysis - Parse function signatures, analyze control flow, identify branching paths, assess complexity metrics
- Test Pattern Recognition - Analyze existing test patterns, identify testing conventions, extract reusable patterns, optimize consistency
- Input Space Analysis - Identify parameter domains, analyze boundary conditions, discover edge cases, evaluate error conditions
- Test Case Design - Generate positive test cases, negative test cases, boundary value tests, equivalence class tests
- Mock Strategy Planning - Identify external dependencies, design mock implementations, create test data factories, optimize test isolation
- Coverage Optimization - Ensure path coverage, optimize test efficiency, eliminate redundancy, maximize testing value
Advanced Features: Automatic edge case discovery, intelligent input generation, test data synthesis, coverage gap analysis, performance test generation.
Quality Assurance: Test maintainability, execution performance, assertion quality, debugging effectiveness.
Output: Comprehensive test case suite with optimized coverage, intelligent mocking, proper assertions, and maintenance guidelines.
Files
1- generate-test-cases.md
fe04ce28092.3 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
Implement property-based testing with framework selection and invariant identification
Add entry to project changelog following Keep a Changelog format
Related frontend skillsscan passed
Guided end-to-end plugin creation workflow with component design, implementation, and validation
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding,
Scaffold React and React Native components with TypeScript, tests, styles, and Storybook stories
Initialize Nuxt UI v4 in an existing Nuxt project with proper configuration