Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
TestReport | TU | DomainResource | Describes the results of a TestScript execution Элементы, определённые в родительском элементе: id, meta, implicitRules, language, text, contained, extension, modifierExtension | |
identifier | Σ | 0..1 | Identifier | External identifier |
name | Σ | 0..1 | string | Informal name of the executed TestScript |
status | ?!Σ | 1..1 | code | completed | in-progress | waiting | stopped | entered-in-error TestReportStatus (Required) |
testScript | Σ | 1..1 | Reference(TestScript) | Reference to the version-specific TestScript that was executed to produce this TestReport |
result | Σ | 1..1 | code | pass | fail | pending TestReportResult (Required) |
score | Σ | 0..1 | decimal | The final score (percentage of tests passed) resulting from the execution of the TestScript |
tester | Σ | 0..1 | string | Name of the tester producing this report (Organization or individual) |
issued | Σ | 0..1 | dateTime | When the TestScript was executed and this TestReport was generated |
participant | 0..* | BackboneElement | A participant in the test execution, either the execution engine, a client, or a server | |
type | 1..1 | code | test-engine | client | server TestReportParticipantType (Required) | |
uri | 1..1 | uri | The uri of the participant. An absolute URL is preferred | |
display | 0..1 | string | The display name of the participant | |
setup | 0..1 | BackboneElement | The results of the series of required setup operations before the tests were executed | |
action | I | 1..* | BackboneElement | A setup operation or assert that was executed + Rule: Setup action SHALL contain either an operation or assert but not both. |
operation | 0..1 | BackboneElement | The operation to perform | |
result | 1..1 | code | pass | skip | fail | warning | error TestReportActionResult (Required) | |
message | 0..1 | markdown | A message associated with the result | |
detail | 0..1 | uri | A link to further details on the result | |
assert | 0..1 | BackboneElement | The assertion to perform | |
result | 1..1 | code | pass | skip | fail | warning | error TestReportActionResult (Required) | |
message | 0..1 | markdown | A message associated with the result | |
detail | 0..1 | string | A link to further details on the result | |
test | 0..* | BackboneElement | A test executed from the test script | |
name | 0..1 | string | Tracking/logging name of this test | |
description | 0..1 | string | Tracking/reporting short description of the test | |
action | I | 1..* | BackboneElement | A test operation or assert that was performed + Rule: Test action SHALL contain either an operation or assert but not both. |
operation | 0..1 | see operation | The operation performed | |
assert | 0..1 | see assert | The assertion performed | |
teardown | 0..1 | BackboneElement | The results of running the series of required clean up steps | |
action | 1..* | BackboneElement | One or more teardown operations performed | |
operation | 1..1 | see operation | The teardown operation performed | |
Documentation for this format |