generate_tests_for_coverage
Create comprehensive test suites for target files to achieve 80%+ code coverage. Supports Jest, Vitest, and Mocha, including edge cases and accessibility tests for enhanced reliability.
Instructions
Generate intelligent tests to achieve 80%+ coverage
Input Schema
Name | Required | Description | Default |
---|---|---|---|
coverageTarget | No | Target coverage percentage (default: 80) | |
includeAccessibility | No | Include accessibility tests for components | |
includeEdgeCases | No | Include edge case tests | |
targetFile | Yes | File to generate tests for | |
testFramework | No | Test framework to use |