Skip to content

Class: TestRunSession

Single run of a TestRunner in a given environment, with a specified set of test_entities (generally, one or more instances of TestSuite).

URI: ttm:TestRunSession

classDiagram class TestRunSession TestEntity <|-- TestRunSession TestRunSession : components TestRunSession --> ComponentEnum : components TestRunSession : description TestRunSession : id TestRunSession : name TestRunSession : tags TestRunSession : test_case_results TestRunSession --> TestCaseResult : test_case_results TestRunSession : test_entities TestRunSession --> TestEntity : test_entities TestRunSession : test_env TestRunSession --> TestEnvEnum : test_env TestRunSession : test_run_parameters TestRunSession --> TestEntityParameter : test_run_parameters TestRunSession : test_runner_name TestRunSession : test_runner_settings TestRunSession : timestamp

Inheritance

Slots

Name Cardinality and Range Description Inheritance
components 0..*
ComponentEnum
The component that this test case is intended to run against direct
test_env 0..1
TestEnvEnum
Deployment environment within which the associated TestSuite is run direct
test_runner_name 0..1
String
Global system name of a TestRunner direct
test_run_parameters 0..*
TestEntityParameter
Different TestRunners could expect additional global test configuration param... direct
test_entities 0..*
TestEntity
Different TestRunners could expect specific kinds of TestEntity as an input direct
test_case_results 0..*
TestCaseResult
One or more instances of TestCaseResult direct
timestamp 0..1
Datetime
Date time when a given entity was created direct
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
A human-readable tags for categorical memberships of a TestEntity (preferably... 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:TestRunSession
native ttm:TestRunSession

LinkML Source

Direct

name: TestRunSession
description: Single run of a TestRunner in a given environment, with a specified set
  of test_entities (generally, one or more instances of TestSuite).
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestEntity
slots:
- components
- test_env
- test_runner_name
- test_run_parameters
- test_entities
- test_case_results
- timestamp
slot_usage:
  test_run_parameters:
    name: test_run_parameters
    description: Different TestRunners could expect additional global test configuration
      parameters, like the applicable TRAPI version ("trapi_version") or Biolink Model
      versions ("biolink_version").
    domain_of:
    - TestRunSession
  test_entities:
    name: test_entities
    description: Different TestRunners could expect specific kinds of TestEntity as
      an input.  These 'test_entities' are one or more instances of TestAsset, TestCase
      or (preferably?) TestSuite.
    domain_of:
    - TestRunSession

Induced

name: TestRunSession
description: Single run of a TestRunner in a given environment, with a specified set
  of test_entities (generally, one or more instances of TestSuite).
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestEntity
slot_usage:
  test_run_parameters:
    name: test_run_parameters
    description: Different TestRunners could expect additional global test configuration
      parameters, like the applicable TRAPI version ("trapi_version") or Biolink Model
      versions ("biolink_version").
    domain_of:
    - TestRunSession
  test_entities:
    name: test_entities
    description: Different TestRunners could expect specific kinds of TestEntity as
      an input.  These 'test_entities' are one or more instances of TestAsset, TestCase
      or (preferably?) TestSuite.
    domain_of:
    - TestRunSession
attributes:
  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: TestRunSession
    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: TestRunSession
    domain_of:
    - TestCase
    - TestRunSession
    range: TestEnvEnum
  test_runner_name:
    name: test_runner_name
    description: Global system name of a TestRunner.
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    alias: test_runner_name
    owner: TestRunSession
    domain_of:
    - TestRunSession
    range: string
  test_run_parameters:
    name: test_run_parameters
    description: Different TestRunners could expect additional global test configuration
      parameters, like the applicable TRAPI version ("trapi_version") or Biolink Model
      versions ("biolink_version").
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    is_a: test_entity_parameters
    multivalued: true
    alias: test_run_parameters
    owner: TestRunSession
    domain_of:
    - TestRunSession
    range: TestEntityParameter
    inlined: true
    inlined_as_list: true
  test_entities:
    name: test_entities
    description: Different TestRunners could expect specific kinds of TestEntity as
      an input.  These 'test_entities' are one or more instances of TestAsset, TestCase
      or (preferably?) TestSuite.
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    multivalued: true
    alias: test_entities
    owner: TestRunSession
    domain_of:
    - TestRunSession
    range: TestEntity
    inlined: true
  test_case_results:
    name: test_case_results
    description: One or more instances of TestCaseResult.
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    multivalued: true
    alias: test_case_results
    owner: TestRunSession
    domain_of:
    - TestRunSession
    range: TestCaseResult
    inlined: true
  timestamp:
    name: timestamp
    description: Date time when a given entity was created.
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    alias: timestamp
    owner: TestRunSession
    domain_of:
    - TestRunSession
    range: datetime
  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: TestRunSession
    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: TestRunSession
    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: TestRunSession
    domain_of:
    - TestEntity
    range: string
  tags:
    name: tags
    description: A human-readable tags for categorical memberships of a TestEntity
      (preferably a URI or CURIE). Typically used to aggregate instances of TestEntity
      into formally typed or ad hoc lists.
    from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
    rank: 1000
    slot_uri: schema:additionalType
    multivalued: true
    alias: tags
    owner: TestRunSession
    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: TestRunSession
    domain_of:
    - TestEntity
    range: string
    required: false