-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGood-TestCase-001.yaml
More file actions
54 lines (54 loc) · 1.74 KB
/
Good-TestCase-001.yaml
File metadata and controls
54 lines (54 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Example TestCase data object
---
# TODO: the TestCase example data needs further elaboration
#
#
# TestCase:
# description: >-
# Represents a single enumerated instance of Test Case, derived from a
# given collection of one or more TestAsset instances (the value of the
# 'test_assets' slot) which define the 'inputs' and 'outputs' of the
# TestCase, used to probe a particular test condition.
# is_a: TestEntity
# slots:
# - test_env
# - test_case_type
# - query_type
# - test_assets
# - preconditions
# slot_usage:
# test_case_type:
# description: >-
# Is this valid or even necessary with the class names already
# available from classes of 'test_assets' used (seems redundant?)
# test_assets:
# aliases: ["Block List"]
# 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.
# tags:
# description: >-
# One or more 'tags' slot values (inherited from TestEntity) should generally
# be defined as filters to specify TestAsset membership in a "Block List" collection.
#
id: example:TestCase001
name: foo bar
description: This is a test case
# NOTE: we only provide the minimal set of TestAsset slots where required: true
test_assets:
- id: example:TestAsset001
name: TestAsset001
input_id: MONDO:0011426
predicate_name: treats
output_id: DRUGBANK:DB01592
expected_output: NeverShow
test_runner_settings:
- "inferred"
- "test"
test_metadata:
id: test:1
test_source: SMURF
test_runner_settings:
- "inferred"
- "test"