get_test_history
Retrieve pass, fail, and flaky statistics for a test to gauge its reliability. Returns a health_status rating to support pre-filtering and failure pattern analysis.
Instructions
Get historical pass/fail/flaky statistics for a specific test. Use this to understand how often a test fails and its overall reliability. Returns health_status (healthy/flaky/broken/disabled/insufficient_data) from the test_health view for AI pre-filtering decisions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to look back (default: 30) | |
| spec_file | Yes | The spec file path (e.g., 'login.spec.js' or 'tests/checkout.spec.ts') | |
| project_id | No | Project ID to filter by (optional) | |
| test_title | No | Specific test title to filter by (optional - omit to get all tests in the spec) |