All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.schema.api.tests.createTestCase.json Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version
{
  "$id": "https://open-metadata.org/schema/api/tests/createTestCase.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateTestCaseRequest",
  "description": "Test is a test definition to capture data quality tests.",
  "type": "object",
  "javaType": "org.openmetadata.schema.api.tests.CreateTestCase",
  "javaInterfaces": ["org.openmetadata.schema.CreateEntity"],
  "properties": {
    "name": {
      "description": "Name that identifies this test case.",
      "$ref": "../../type/basic.json#/definitions/testCaseEntityName"
    },
    "description": {
      "description": "Description of the testcase.",
      "$ref": "../../type/basic.json#/definitions/markdown"
    },
    "displayName": {
      "description": "Display Name that identifies this test.",
      "type": "string"
    },
    "testDefinition": {
      "description": "Fully qualified name of the test definition.",
      "$ref": "../../type/basic.json#/definitions/fullyQualifiedEntityName"
    },
    "entityLink": {
      "$ref": "../../type/basic.json#/definitions/entityLink"
    },
    "testSuite": {
      "description": "Fully qualified name of the testSuite",
      "$ref": "../../type/basic.json#/definitions/fullyQualifiedEntityName"
    },
    "parameterValues": {
      "type": "array",
      "items": {
        "$ref": "../../tests/testCase.json#/definitions/testCaseParameterValue"
      }
    },
    "owners": {
      "description": "Owners of this test",
      "$ref": "../../type/entityReferenceList.json"
    },
    "computePassedFailedRowCount": {
      "description": "Compute the passed and failed row count for the test case.",
      "type": "boolean",
      "default": false
    },
    "useDynamicAssertion": {
      "description": "If the test definition supports it, use dynamic assertion to evaluate the test case.",
      "type": "boolean",
      "default": false
    }
  },
  "required": ["name", "testDefinition", "entityLink", "testSuite"],
  "additionalProperties": false
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy