TestHealthFinding
Fields
Per-test health finding.
8 fields
anti_patterns- array of string
critical_count- integer
health_score· required- integer
recommendation- string
test_case_id· required- string
test_name· required- string
violations- array of TestHealthViolation
warning_count- integer
Raw schema (JSON)
{
"description": "Per-test health finding.",
"properties": {
"anti_patterns": {
"default": [],
"items": {
"type": "string"
},
"title": "Anti Patterns",
"type": "array"
},
"critical_count": {
"default": 0,
"title": "Critical Count",
"type": "integer"
},
"health_score": {
"title": "Health Score",
"type": "integer"
},
"recommendation": {
"default": "",
"title": "Recommendation",
"type": "string"
},
"test_case_id": {
"title": "Test Case Id",
"type": "string"
},
"test_name": {
"title": "Test Name",
"type": "string"
},
"violations": {
"default": [],
"items": {
"$ref": "#/components/schemas/TestHealthViolation"
},
"title": "Violations",
"type": "array"
},
"warning_count": {
"default": 0,
"title": "Warning Count",
"type": "integer"
}
},
"required": [
"test_case_id",
"test_name",
"health_score"
],
"title": "TestHealthFinding",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/runs/{run_id}/test-health— Get Test Health
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON