Test Suites · JSON-LD Context

Test Suites Context

JSON-LD context defining the semantic vocabulary for Test Suites from Test Suites.

14 Classes 8 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
ts: https://raw.githubusercontent.com/api-evangelist/test-suites/main/vocabulary/test-suites-vocabulary.yml#

Classes

id name description tags framework language suiteType executionTime status duration lines branches functions statements

Properties

Property Type Container
TestSuite reference
TestCase reference
CoverageReport reference
created date
modified date
testCases set
subSuites set
coverage reference

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "ts": "https://raw.githubusercontent.com/api-evangelist/test-suites/main/vocabulary/test-suites-vocabulary.yml#",

    "TestSuite": { "@id": "ts:TestSuite", "@type": "@id" },
    "TestCase": { "@id": "ts:TestCase", "@type": "@id" },
    "CoverageReport": { "@id": "ts:CoverageReport", "@type": "@id" },

    "id": "@id",
    "name": "schema:name",
    "description": "schema:description",
    "created": { "@id": "schema:dateCreated", "@type": "xsd:date" },
    "modified": { "@id": "schema:dateModified", "@type": "xsd:date" },
    "tags": "schema:keywords",

    "framework": "ts:framework",
    "language": "schema:programmingLanguage",
    "suiteType": "ts:suiteType",
    "testCases": { "@id": "ts:testCases", "@container": "@set" },
    "subSuites": { "@id": "ts:subSuites", "@container": "@set" },
    "coverage": { "@id": "ts:coverage", "@type": "@id" },
    "executionTime": "ts:executionTime",

    "status": "ts:executionStatus",
    "duration": "ts:executionDuration",

    "lines": "ts:lineCoverage",
    "branches": "ts:branchCoverage",
    "functions": "ts:functionCoverage",
    "statements": "ts:statementCoverage"
  }
}