| requirements { |
| id: "test-passfail-0001-v01" |
| description: "There are 2 tests for this requirement: pass and fail" |
| level: "MUST" |
| depends_on: "test-pass-0002-v01" |
| } |
| requirements { |
| id: "test-pass-0001-v01" |
| description: "There is a pass test for this requirement" |
| level: "MUST" |
| depends_on: ["test-pass-0002-v01", "test-pass-0003-v01"] |
| } |
| requirements { |
| id: "test-pass-0002-v01" |
| description: "There is a pass test for this requirement" |
| level: "MAY" |
| } |
| requirements { |
| id: "test-pass-0003-v01" |
| description: "There is a pass test for this requirement" |
| level: "MAY" |
| } |
| requirements { |
| id: "test-fail-0001-v01" |
| description: "There is a fail test for this requirement" |
| level: "MAY" |
| } |
| requirements { |
| id: "test-fail-0002-v01" |
| description: "There are no tests for this requirement" |
| level: "MUST" |
| depends_on: ["test-pass-0002-v01", "test-fail-0001-v01"] |
| } |
| mappings { |
| requirement_id: "test-passfail-0001-v01" |
| tests { |
| source: "tauto" |
| name: "stub_PassServer" |
| } |
| tests { |
| source: "tauto" |
| name: "stub_FailServer" |
| } |
| } |
| mappings { |
| requirement_id: "test-pass-0001-v01" |
| tests { |
| source: "tauto" |
| name: "stub_PassServer" |
| } |
| } |
| mappings { |
| requirement_id: "test-pass-0002-v01" |
| tests { |
| source: "tauto" |
| name: "stub_PassServer" |
| } |
| } |
| mappings { |
| requirement_id: "test-pass-0003-v01" |
| tests { |
| source: "tauto" |
| name: "stub_PassServer" |
| } |
| } |
| mappings { |
| requirement_id: "test-fail-0001-v01" |
| tests { |
| source: "tauto" |
| name: "stub_FailServer" |
| } |
| } |
| mappings { |
| requirement_id: "test-fail-0002-v01" |
| tests { |
| source: "tauto" |
| name: "SHOULD_NOT_RUN" |
| } |
| } |