CircleCI · Schema

TestMetadata

CI/CDContinuous IntegrationContinuous DeploymentDevOpsPipelinesWorkflows

Properties

Name Type Description
message string The test message
file string The file containing the test
source string The source of the test
run_time number The run time of the test in seconds
result string The test result
name string The name of the test
classname string The class name of the test
View JSON Schema on GitHub

JSON Schema

circleci-testmetadata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/TestMetadata",
  "title": "TestMetadata",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The test message"
    },
    "file": {
      "type": "string",
      "description": "The file containing the test"
    },
    "source": {
      "type": "string",
      "description": "The source of the test"
    },
    "run_time": {
      "type": "number",
      "format": "float",
      "description": "The run time of the test in seconds"
    },
    "result": {
      "type": "string",
      "enum": [
        "success",
        "failure",
        "skipped"
      ],
      "description": "The test result"
    },
    "name": {
      "type": "string",
      "description": "The name of the test"
    },
    "classname": {
      "type": "string",
      "description": "The class name of the test"
    }
  }
}