Class: QuantitativeTestCase
Assumed additional model from Shervin's runner JSON here as an example. This schema is not yet complete.
classDiagram
class QuantitativeTestCase
TestCase <|-- QuantitativeTestCase
QuantitativeTestCase : components
QuantitativeTestCase --> ComponentEnum : components
QuantitativeTestCase : description
QuantitativeTestCase : id
QuantitativeTestCase : input_category
QuantitativeTestCase : name
QuantitativeTestCase : output_category
QuantitativeTestCase : preconditions
QuantitativeTestCase --> Precondition : preconditions
QuantitativeTestCase : qualifiers
QuantitativeTestCase --> Qualifier : qualifiers
QuantitativeTestCase : query_type
QuantitativeTestCase --> QueryTypeEnum : query_type
QuantitativeTestCase : tags
QuantitativeTestCase : test_assets
QuantitativeTestCase --> TestAsset : test_assets
QuantitativeTestCase : test_case_input_id
QuantitativeTestCase : test_case_objective
QuantitativeTestCase --> TestObjectiveEnum : test_case_objective
QuantitativeTestCase : test_case_predicate_id
QuantitativeTestCase : test_case_predicate_name
QuantitativeTestCase : test_case_source
QuantitativeTestCase --> TestSourceEnum : test_case_source
QuantitativeTestCase : test_env
QuantitativeTestCase --> TestEnvEnum : test_env
QuantitativeTestCase : test_runner_settings
QuantitativeTestCase : trapi_template
QuantitativeTestCase --> TrapiTemplateEnum : trapi_template
Inheritance
- TestEntity
- TestCase
- QuantitativeTestCase
- TestCase
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
query_type | 0..1 QueryTypeEnum |
Type of TestCase query | TestCase |
test_assets | 1..* TestAsset |
One or more 'tags' slot values (inherited from TestEntity) should generally b... | TestCase |
preconditions | 0..* Precondition |
TestCase | |
trapi_template | 0..1 TrapiTemplateEnum |
A template for a query, which can be used to generate a query for a test case | TestCase |
test_case_objective | 0..1 TestObjectiveEnum |
Testing objective behind specified set of test particulars (e | TestCase |
test_case_source | 0..1 TestSourceEnum |
Provenance of a specific set of test assets, cases and/or suites | TestCase |
test_case_predicate_name | 0..1 String |
TestCase | |
test_case_predicate_id | 0..1 String |
TestCase | |
test_case_input_id | 0..1 Uriorcurie |
TestCase | |
qualifiers | 0..* Qualifier |
Optional qualifiers which constrain to the test asset defined knowledge state... | TestCase |
input_category | 0..1 ConceptCategory |
TestCase | |
output_category | 0..1 ConceptCategory |
TestCase | |
components | 0..* ComponentEnum |
The component that this test case is intended to run against | TestCase |
test_env | 0..1 TestEnvEnum |
Deployment environment within which the associated TestSuite is run | TestCase |
id | 1..1 Uriorcurie |
A unique identifier for a Test Entity | TestEntity |
name | 0..1 String |
A human-readable name for a Test Entity | TestEntity |
description | 0..1 String |
A human-readable description for a Test Entity | TestEntity |
tags | 0..* String |
One or more 'tags' slot values (slot inherited from TestEntity) should genera... | TestEntity |
test_runner_settings | 0..* String |
Scalar parameters for the TestRunner processing a given TestEntity | TestEntity |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
Mappings
Mapping Type | Mapped Value |
---|---|
self | ttm:QuantitativeTestCase |
native | ttm:QuantitativeTestCase |
LinkML Source
Direct
name: QuantitativeTestCase
description: Assumed additional model from Shervin's runner JSON here as an example. This
schema is not yet complete.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestCase
Induced
name: QuantitativeTestCase
description: Assumed additional model from Shervin's runner JSON here as an example. This
schema is not yet complete.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestCase
attributes:
query_type:
name: query_type
description: Type of TestCase query.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: query_type
owner: QuantitativeTestCase
domain_of:
- TestCase
range: QueryTypeEnum
test_assets:
name: test_assets
description: One or more 'tags' slot values (inherited from TestEntity) should
generally be defined as filters to specify TestAsset membership in 'test_assets'
slot ("Block List") collection.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Block List
rank: 1000
multivalued: true
alias: test_assets
owner: QuantitativeTestCase
domain_of:
- TestCase
range: TestAsset
required: true
inlined: true
inlined_as_list: true
preconditions:
name: preconditions
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
multivalued: true
alias: preconditions
owner: QuantitativeTestCase
domain_of:
- TestCase
range: Precondition
trapi_template:
name: trapi_template
description: 'A template for a query, which can be used to generate a query for
a test case. note: the current enumerated values for this slot come from the
Benchmarks repo config/benchmarks.json "templates" collection and refer to the
"name" field of each template. Templates themselves are currently stored in
the config/[source_name]/templates directory.'
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: trapi_template
owner: QuantitativeTestCase
domain_of:
- TestCase
range: TrapiTemplateEnum
test_case_objective:
name: test_case_objective
description: Testing objective behind specified set of test particulars (e.g.
acceptance pass/fail; benchmark; quantitative; standards compliance; graph navigation
integrity)
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: test_case_objective
owner: QuantitativeTestCase
domain_of:
- TestCase
range: TestObjectiveEnum
test_case_source:
name: test_case_source
description: Provenance of a specific set of test assets, cases and/or suites. Or,
the person who cares about this, know about this. We would like this to be
an ORCID eventually, but currently it is just a string.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: test_case_source
owner: QuantitativeTestCase
domain_of:
- TestCase
range: TestSourceEnum
test_case_predicate_name:
name: test_case_predicate_name
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Predicate
rank: 1000
alias: test_case_predicate_name
owner: QuantitativeTestCase
domain_of:
- TestCase
range: string
test_case_predicate_id:
name: test_case_predicate_id
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Predicate
rank: 1000
alias: test_case_predicate_id
owner: QuantitativeTestCase
domain_of:
- TestCase
range: string
test_case_input_id:
name: test_case_input_id
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- InputID, node normalized
- SubjectID
rank: 1000
alias: test_case_input_id
owner: QuantitativeTestCase
domain_of:
- TestCase
range: uriorcurie
qualifiers:
name: qualifiers
description: Optional qualifiers which constrain to the test asset defined knowledge
statement. Note that this field records such qualifier slots and values as tag=value
pairs, where the tag is the Biolink Model qualifier slot named and the value
is an acceptable (Biolink Model enum?) value of the said qualifier slot.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
multivalued: true
alias: qualifiers
owner: QuantitativeTestCase
domain_of:
- TestAsset
- TestCase
range: Qualifier
inlined: true
inlined_as_list: true
input_category:
name: input_category
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- SubjectCategory
rank: 1000
alias: input_category
owner: QuantitativeTestCase
domain_of:
- TestAsset
- TestCase
range: concept_category
output_category:
name: output_category
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- ObjectCategory
rank: 1000
alias: output_category
owner: QuantitativeTestCase
domain_of:
- TestAsset
- TestCase
range: concept_category
components:
name: components
description: The component that this test case is intended to run against. Most
often this is the ARS for acceptance tests, but for the Benchmarks repo integration,
this can also be individual components of the system like Aragorn, or ARAX.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
multivalued: true
alias: components
owner: QuantitativeTestCase
domain_of:
- TestCase
- TestRunSession
range: ComponentEnum
test_env:
name: test_env
description: Deployment environment within which the associated TestSuite is run.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: test_env
owner: QuantitativeTestCase
domain_of:
- TestCase
- TestRunSession
range: TestEnvEnum
id:
name: id
description: A unique identifier for a Test Entity
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
slot_uri: schema:identifier
identifier: true
alias: id
owner: QuantitativeTestCase
domain_of:
- TestEntity
range: uriorcurie
required: true
name:
name: name
description: A human-readable name for a Test Entity
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
slot_uri: schema:name
alias: name
owner: QuantitativeTestCase
domain_of:
- TestEntity
range: string
description:
name: description
description: A human-readable description for a Test Entity
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
slot_uri: schema:description
alias: description
owner: QuantitativeTestCase
domain_of:
- TestEntity
range: string
tags:
name: tags
description: One or more 'tags' slot values (slot inherited from TestEntity) should
generally be defined as filters to specify TestAsset membership in a "Block
List" collection.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
slot_uri: schema:additionalType
multivalued: true
alias: tags
owner: QuantitativeTestCase
domain_of:
- TestEntity
range: string
test_runner_settings:
name: test_runner_settings
description: Scalar parameters for the TestRunner processing a given TestEntity.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
aliases:
- Settings
rank: 1000
multivalued: true
alias: test_runner_settings
owner: QuantitativeTestCase
domain_of:
- TestEntity
range: string
required: false