Skip to content

Class: Precondition

Represents a precondition for a TestCase

URI: ttm:Precondition

classDiagram class Precondition TestEntity <|-- Precondition Precondition : description Precondition : id Precondition : name Precondition : tags Precondition : test_runner_settings

Inheritance

Slots

Name Cardinality and Range Description Inheritance
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

Usages

used by used in type used
TestCase preconditions range Precondition
AcceptanceTestCase preconditions range Precondition
QuantitativeTestCase preconditions range Precondition
PerformanceTestCase preconditions range Precondition

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: Precondition
description: Represents a precondition for a TestCase
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestEntity

Induced

name: Precondition
description: Represents a precondition for a TestCase
from_schema: https://w3id.org/TranslatorSRI/TranslatorTestingModel
is_a: TestEntity
attributes:
  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: Precondition
    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: Precondition
    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: Precondition
    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: Precondition
    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: Precondition
    domain_of:
    - TestEntity
    range: string
    required: false