Class: AcceptanceTestCase
See AcceptanceTestAsset above for more details.
classDiagram
class AcceptanceTestCase
TestCase <|-- AcceptanceTestCase
AcceptanceTestCase : components
AcceptanceTestCase --> ComponentEnum : components
AcceptanceTestCase : description
AcceptanceTestCase : id
AcceptanceTestCase : input_category
AcceptanceTestCase : name
AcceptanceTestCase : output_category
AcceptanceTestCase : preconditions
AcceptanceTestCase --> Precondition : preconditions
AcceptanceTestCase : qualifiers
AcceptanceTestCase --> Qualifier : qualifiers
AcceptanceTestCase : query_type
AcceptanceTestCase --> QueryTypeEnum : query_type
AcceptanceTestCase : tags
AcceptanceTestCase : test_assets
AcceptanceTestCase --> AcceptanceTestAsset : test_assets
AcceptanceTestCase : test_case_input_id
AcceptanceTestCase : test_case_objective
AcceptanceTestCase --> TestObjectiveEnum : test_case_objective
AcceptanceTestCase : test_case_predicate_id
AcceptanceTestCase : test_case_predicate_name
AcceptanceTestCase : test_case_source
AcceptanceTestCase --> TestSourceEnum : test_case_source
AcceptanceTestCase : test_env
AcceptanceTestCase --> TestEnvEnum : test_env
AcceptanceTestCase : test_runner_settings
AcceptanceTestCase : trapi_template
AcceptanceTestCase --> TrapiTemplateEnum : trapi_template
Inheritance
- TestEntity
- TestCase
- AcceptanceTestCase
- TestCase
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
query_type | 0..1 QueryTypeEnum |
Type of TestCase query | TestCase |
test_assets | 1..* AcceptanceTestAsset |
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:AcceptanceTestCase |
native | ttm:AcceptanceTestCase |
LinkML Source
Direct
name: AcceptanceTestCase
description: See AcceptanceTestAsset above for more details.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestCase
slot_usage:
test_assets:
name: test_assets
domain_of:
- TestCase
range: AcceptanceTestAsset
Induced
name: AcceptanceTestCase
description: See AcceptanceTestAsset above for more details.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestCase
slot_usage:
test_assets:
name: test_assets
domain_of:
- TestCase
range: AcceptanceTestAsset
attributes:
query_type:
name: query_type
description: Type of TestCase query.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
rank: 1000
alias: query_type
owner: AcceptanceTestCase
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
rank: 1000
multivalued: true
alias: test_assets
owner: AcceptanceTestCase
domain_of:
- TestCase
range: AcceptanceTestAsset
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
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: AcceptanceTestCase
domain_of:
- TestEntity
range: string
required: false