Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    EnrichedTestCaseDetailResponse

    Fields

    Versioned additive contract for an executed test case.

    43 fields
    assigned_to_user_id
    string (uuid) or null
    attachments
    array of TestAttachmentResponse
    call_ms
    integer or null
    class_name
    string or null
    classification · required
    TestCaseClassificationSection
    contract
    string
    contract_version
    string
    created_at · required
    string (date-time)
    definition
    object or null
    duration_ms
    integer or null
    epic
    string or null
    error_message
    string or null
    execution · required
    TestCaseExecutionSection
    extensions
    object
    failure_category
    string or null
    failure_kind · required
    string or null

    Derived failure-kind triad: product / test_code / infrastructure / unknown. AI-derived from the stored failure_category + the FAILED-vs-BROKEN status distinction — see app/services/failure_kind.py for the mapping rationale. None for non-failing rows (a kind only makes sense for failures).

    feature
    string or null
    finished_at
    string (date-time) or null
    full_name
    string or null
    has_attachments
    boolean
    id · required
    string (uuid)
    identity · required
    TestCaseIdentitySection
    links
    array of object
    minio_s3_prefix
    string or null
    owner
    string or null
    package_name
    string or null
    provenance · required
    TestCaseProvenanceSection
    schema_version
    integer
    setup_ms
    integer or null
    severity
    string or null
    started_at
    string (date-time) or null
    status · required
    TestStatus
    step_count
    integer or null
    steps
    array of TestStepResponse
    steps_present
    boolean
    story
    string or null
    suite_name
    string or null
    tags
    array of string or null
    teardown_ms
    integer or null
    test_name · required
    string
    test_run_id · required
    string (uuid)
    timing_source
    string or null
    worker_id
    string or null
    Raw schema (JSON)
    {
      "description": "Versioned additive contract for an executed test case.\n\nInherited flat fields intentionally remain present for existing clients.\nStructured sections provide stable extension points for richer metadata.",
      "properties": {
        "assigned_to_user_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Assigned To User Id"
        },
        "attachments": {
          "items": {
            "$ref": "#/components/schemas/TestAttachmentResponse"
          },
          "title": "Attachments",
          "type": "array"
        },
        "call_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Call Ms"
        },
        "class_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Class Name"
        },
        "classification": {
          "$ref": "#/components/schemas/TestCaseClassificationSection"
        },
        "contract": {
          "const": "test-case-detail",
          "default": "test-case-detail",
          "title": "Contract",
          "type": "string"
        },
        "contract_version": {
          "const": "1",
          "default": "1",
          "title": "Contract Version",
          "type": "string"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "definition": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Definition"
        },
        "duration_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Duration Ms"
        },
        "epic": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Epic"
        },
        "error_message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error Message"
        },
        "execution": {
          "$ref": "#/components/schemas/TestCaseExecutionSection"
        },
        "extensions": {
          "additionalProperties": true,
          "title": "Extensions",
          "type": "object"
        },
        "failure_category": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Failure Category"
        },
        "failure_kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Derived failure-kind triad (US-9.1): product / test_code /\ninfrastructure / unknown. AI-derived from the stored\n``failure_category`` + the FAILED-vs-BROKEN status distinction —\nsee ``app/services/failure_kind.py`` for the mapping rationale.\nNone for non-failing rows (a kind only makes sense for failures).",
          "readOnly": true,
          "title": "Failure Kind"
        },
        "feature": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Feature"
        },
        "finished_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Finished At"
        },
        "full_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Full Name"
        },
        "has_attachments": {
          "default": false,
          "title": "Has Attachments",
          "type": "boolean"
        },
        "id": {
          "format": "uuid",
          "title": "Id",
          "type": "string"
        },
        "identity": {
          "$ref": "#/components/schemas/TestCaseIdentitySection"
        },
        "links": {
          "items": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "type": "object"
          },
          "title": "Links",
          "type": "array"
        },
        "minio_s3_prefix": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Minio S3 Prefix"
        },
        "owner": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Owner"
        },
        "package_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Package Name"
        },
        "provenance": {
          "$ref": "#/components/schemas/TestCaseProvenanceSection"
        },
        "schema_version": {
          "default": 1,
          "title": "Schema Version",
          "type": "integer"
        },
        "setup_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Setup Ms"
        },
        "severity": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Severity"
        },
        "started_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Started At"
        },
        "status": {
          "$ref": "#/components/schemas/TestStatus"
        },
        "step_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Step Count"
        },
        "steps": {
          "items": {
            "$ref": "#/components/schemas/TestStepResponse"
          },
          "title": "Steps",
          "type": "array"
        },
        "steps_present": {
          "default": false,
          "title": "Steps Present",
          "type": "boolean"
        },
        "story": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Story"
        },
        "suite_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Suite Name"
        },
        "tags": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tags"
        },
        "teardown_ms": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Teardown Ms"
        },
        "test_name": {
          "title": "Test Name",
          "type": "string"
        },
        "test_run_id": {
          "format": "uuid",
          "title": "Test Run Id",
          "type": "string"
        },
        "timing_source": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Timing Source"
        },
        "worker_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Worker Id"
        }
      },
      "required": [
        "id",
        "test_run_id",
        "test_name",
        "status",
        "created_at",
        "identity",
        "classification",
        "execution",
        "provenance",
        "failure_kind"
      ],
      "title": "EnrichedTestCaseDetailResponse",
      "type": "object"
    }

    One endpoint sends or returns this schema, on its own or inside another schema.

    No other schema contains this one.