Skip to content

Class: PerformanceTestCase

Represents a performance test case.

URI: ttm:PerformanceTestCase

classDiagram class PerformanceTestCase TestCase <|-- PerformanceTestCase PerformanceTestCase : components PerformanceTestCase --> ComponentEnum : components PerformanceTestCase : description PerformanceTestCase : id PerformanceTestCase : input_category PerformanceTestCase : name PerformanceTestCase : output_category PerformanceTestCase : preconditions PerformanceTestCase --> Precondition : preconditions PerformanceTestCase : qualifiers PerformanceTestCase --> Qualifier : qualifiers PerformanceTestCase : query_type PerformanceTestCase --> QueryTypeEnum : query_type PerformanceTestCase : spawn_rate PerformanceTestCase : tags PerformanceTestCase : test_assets PerformanceTestCase --> TestAsset : test_assets PerformanceTestCase : test_case_input_id PerformanceTestCase : test_case_objective PerformanceTestCase --> TestObjectiveEnum : test_case_objective PerformanceTestCase : test_case_predicate_id PerformanceTestCase : test_case_predicate_name PerformanceTestCase : test_case_source PerformanceTestCase --> TestSourceEnum : test_case_source PerformanceTestCase : test_env PerformanceTestCase --> TestEnvEnum : test_env PerformanceTestCase : test_run_time PerformanceTestCase : test_runner_settings PerformanceTestCase : trapi_template PerformanceTestCase --> TrapiTemplateEnum : trapi_template

Inheritance

Slots

Name Cardinality and Range Description Inheritance
test_run_time 1..1
Integer
direct
spawn_rate 1..1
Float
direct
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

Usages

used by used in type used
PerformanceTestSuite test_cases range PerformanceTestCase

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel

Mappings

Mapping Type Mapped Value
self ttm:PerformanceTestCase
native ttm:PerformanceTestCase

LinkML Source

Direct

name: PerformanceTestCase
description: Represents a performance test case.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestCase
slot_usage:
  test_assets:
    name: test_assets
    domain_of:
    - TestCase
    - PathfinderTestCase
    range: TestAsset
attributes:
  test_run_time:
    name: test_run_time
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    domain_of:
    - PerformanceTestCase
    range: integer
    required: true
  spawn_rate:
    name: spawn_rate
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    domain_of:
    - PerformanceTestCase
    range: float
    required: true

Induced

name: PerformanceTestCase
description: Represents a performance test case.
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestCase
slot_usage:
  test_assets:
    name: test_assets
    domain_of:
    - TestCase
    - PathfinderTestCase
    range: TestAsset
attributes:
  test_run_time:
    name: test_run_time
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    alias: test_run_time
    owner: PerformanceTestCase
    domain_of:
    - PerformanceTestCase
    range: integer
    required: true
  spawn_rate:
    name: spawn_rate
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    alias: spawn_rate
    owner: PerformanceTestCase
    domain_of:
    - PerformanceTestCase
    range: float
    required: true
  query_type:
    name: query_type
    description: Type of TestCase query.
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    alias: query_type
    owner: PerformanceTestCase
    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: PerformanceTestCase
    domain_of:
    - TestCase
    - PathfinderTestCase
    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: PerformanceTestCase
    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: PerformanceTestCase
    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: PerformanceTestCase
    domain_of:
    - TestCase
    - PathfinderTestCase
    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: PerformanceTestCase
    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: PerformanceTestCase
    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: PerformanceTestCase
    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: PerformanceTestCase
    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: PerformanceTestCase
    domain_of:
    - TestAsset
    - PathfinderTestAsset
    - 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: PerformanceTestCase
    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: PerformanceTestCase
    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: PerformanceTestCase
    domain_of:
    - TestCase
    - PathfinderTestCase
    - 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: PerformanceTestCase
    domain_of:
    - TestCase
    - PathfinderTestCase
    - 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: PerformanceTestCase
    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: PerformanceTestCase
    domain_of:
    - TestEntity
    - PathfinderPathNode
    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: PerformanceTestCase
    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: PerformanceTestCase
    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: PerformanceTestCase
    domain_of:
    - TestEntity
    range: string
    required: false