generate_tests_for_coverage
Generate targeted test cases to achieve 80%+ coverage for a file, supporting Jest, Vitest, or Mocha. Include edge cases and accessibility tests for components to enhance code quality and 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 |