analyze_test_quality
Assess test suite quality by analyzing assertion density, test length, naming conventions, and magic numbers. Returns per-file and per-test metrics with a quality score and grade to identify weak tests.
Instructions
Analyze test suite quality: assertion density, test length, naming conventions, magic numbers, and more. Returns per-file and per-test metrics with a quality score (0-100) and grade.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Root directory containing test files. | |
| max_length | No | Max test function length before flagging (default: 50). |