Test History

Get failure clusters

Groups failed tests by error message similarity using Levenshtein distance. Helps identify root causes when multiple tests fail. Often 15 failures are 2-3 bugs.

get/api/v1/user/projects/{projectId}/test-runs/{testRunId}/failure-clusters

Request

  • Base URL: https://app.gaffer.sh
  • URL: https://app.gaffer.sh/api/v1/user/projects/{projectId}/test-runs/{testRunId}/failure-clusters
  • Auth: one of:
    • API key in header X-API-Key
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

projectIdstring required

Project ID. Use the list projects endpoint to find project IDs.

testRunIdstring required

Test run ID

Response

Failure clusters grouped by error similarity

totalFailuresinteger required

Total number of failed tests across all clusters

Changes

No recorded changes to this operation across all 1 revision of this API.