TestReport
A summary of information based on the results of executing a TestScript.
- Backends
- PostgreSQLElasticsearch
- Interactions
- CreateReadUpdatePatchDelete
- Search
- 6 of 6 parameters tested
Structure
| Element | Card. | Type | Description |
|---|---|---|---|
identifierΣ | 0..1 | Identifier | External identifier |
nameΣ | 0..1 | string | Informal name of the executed TestScript |
statusRequired?!Σ | 1..1 | code | completed | in-progress | waiting | stopped | entered-in-errorBinding (required): report-status-codes |
testScriptRequiredΣ | 1..1 | Reference(TestScript) | Reference to the version-specific TestScript that was executed to produce this TestReport |
resultRequiredΣ | 1..1 | code | pass | fail | pendingBinding (required): report-result-codes |
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 |
typeRequired | 1..1 | code | test-engine | client | serverBinding (required): report-participant-type |
uriRequired | 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 |
actionRequired | 1..* | BackboneElement | A setup operation or assert that was executed |
operation | 0..1 | BackboneElement | The operation to perform |
resultRequired | 1..1 | code | pass | skip | fail | warning | errorBinding (required): report-action-result-codes |
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 |
resultRequired | 1..1 | code | pass | skip | fail | warning | errorBinding (required): report-action-result-codes |
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 |
actionRequired | 1..* | BackboneElement | A test operation or assert that was performed |
operation | 0..1 | Same as TestReport.setup.action.operation | The operation performed |
assert | 0..1 | Same as TestReport.setup.action.assert | The assertion performed |
teardown | 0..1 | BackboneElement | The results of running the series of required clean up steps |
actionRequired | 1..* | BackboneElement | One or more teardown operations performed |
operationRequired | 1..1 | Same as TestReport.setup.action.operation | The teardown operation performed |
Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey
Search parameters
Query with GET [base]/TestReport?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.
| Parameter | Type | Description | PG | ES |
|---|---|---|---|---|
identifier | token | An external identifier for the test report TestReport.identifier | ||
issued | date | The test report generation date TestReport.issued | ||
participant | uri | The reference to a participant in the test execution TestReport.participant.uri | ||
result | token | The result disposition of the test execution TestReport.result | ||
tester | string | The name of the testing organization TestReport.tester | ||
testscript | reference | The test script executed to produce this report TestReport.testScript |
PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet. The author of the resource Logical id of this artifact When the resource version last changed Profiles this resource claims to conform to Security Labels applied to this resource Identifies where the resource comes from Tags applied to this resource Derived from the R4B DefinitionCommon parameters on every resource (8)
_haste-health-authorreference _idtoken _lastUpdateddate _profileuri _securitytoken _sourceuri _tagtoken _typetoken