Skip to content

Commit

Permalink
Added 'tags' slot in TestEntity for global availability to 'mark up' …
Browse files Browse the repository at this point in the history
…assets; specified a TestAssetCollection a.k.a. Jenn's 'Block List' in disguise
  • Loading branch information
RichardBruskiewich committed Oct 24, 2023
1 parent 2f330b5 commit 39c921d
Show file tree
Hide file tree
Showing 12 changed files with 1,025 additions and 325 deletions.
Binary file modified project/excel/translator_testing_model.xlsx
Binary file not shown.
26 changes: 26 additions & 0 deletions project/graphql/translator_testing_model.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ type AcceptanceTestCase
id: Uriorcurie!
name: String
description: String
tags: [String]
preconditions: [Precondition]
inputs: [SemanticSmokeTestInput]!
outputs: [SemanticSmokeTestOutput]!
Expand All @@ -13,6 +14,7 @@ type AcceptanceTestSuite
id: Uriorcurie!
name: String
description: String
tags: [String]
testMetadata: TestMetadata
testPersona: TestPersonaEnum
testCases: [TestCase]
Expand All @@ -28,13 +30,15 @@ type Input
id: Uriorcurie!
name: String
description: String
tags: [String]
}

type OneHopTestSuite
{
id: Uriorcurie!
name: String
description: String
tags: [String]
testMetadata: TestMetadata
testPersona: TestPersonaEnum
testCases: [TestCase]
Expand All @@ -46,13 +50,15 @@ type Output
id: Uriorcurie!
name: String
description: String
tags: [String]
}

type Precondition
{
id: Uriorcurie!
name: String
description: String
tags: [String]
}

type QueryAnswerPair
Expand All @@ -69,13 +75,15 @@ type QueryAnswerPair
inV1: Boolean
wellKnown: Boolean
id: Uriorcurie!
tags: [String]
}

type SemanticSmokeTestInput
{
id: Uriorcurie!
name: String
description: String
tags: [String]
mustPassDate: Date
mustPassEnvironment: EnvironmentEnum
query: String
Expand All @@ -94,13 +102,15 @@ type SemanticSmokeTestOutput
id: Uriorcurie!
name: String
description: String
tags: [String]
}

type StandardsComplianceTestSuite
{
id: Uriorcurie!
name: String
description: String
tags: [String]
testMetadata: TestMetadata
testPersona: TestPersonaEnum
testCases: [TestCase]
Expand All @@ -121,13 +131,24 @@ type TestAsset
inV1: Boolean
wellKnown: Boolean
id: Uriorcurie!
tags: [String]
}

type TestAssetCollection
{
id: Uriorcurie!
name: String
description: String
testAssets: [TestCase]!
tags: [String]
}

type TestCase
{
id: Uriorcurie!
name: String
description: String
tags: [String]
inputs: [Input]
outputs: [Output]
preconditions: [Precondition]
Expand All @@ -138,6 +159,7 @@ type TestCaseSpecification
id: Uriorcurie!
name: String
description: String
tags: [String]
}

type TestEdgeData
Expand All @@ -154,20 +176,23 @@ type TestEdgeData
inV1: Boolean
wellKnown: Boolean
id: Uriorcurie!
tags: [String]
}

interface TestEntity
{
id: Uriorcurie!
name: String
description: String
tags: [String]
}

type TestMetadata
{
id: Uriorcurie!
name: String
description: String
tags: [String]
testSource: TestSourceEnum
testReference: Uriorcurie
testObjective: TestObjectiveEnum
Expand All @@ -178,6 +203,7 @@ type TestSuite
id: Uriorcurie!
name: String
description: String
tags: [String]
testMetadata: TestMetadata
testPersona: TestPersonaEnum
testCases: [TestCase]
Expand Down
8 changes: 7 additions & 1 deletion project/jsonld/translator_testing_model.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2023-10-19T19:44:25",
"generation_date": "2023-10-24T10:17:53",
"source": "translator_testing_model.yaml"
},
"@context": {
Expand Down Expand Up @@ -83,6 +83,12 @@
"meaning": "@id"
}
},
"tags": {
"@id": "schema:additionalType"
},
"test_assets": {
"@type": "@id"
},
"test_case_specification": {
"@type": "@id"
},
Expand Down
Loading

0 comments on commit 39c921d

Please sign in to comment.