pub struct TestReport {Show 20 fields
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub identifier: Option<Identifier>,
pub name: Option<StringDt>,
pub status: Option<CodeDt>,
pub test_script: Option<CanonicalDt>,
pub result: Option<CodeDt>,
pub score: Option<DecimalDt>,
pub tester: Option<StringDt>,
pub issued: Option<DateTimeDt>,
pub participant: Option<Vec<TestReportParticipantBackboneElement>>,
pub setup: Option<TestReportSetupBackboneElement>,
pub test: Option<Vec<TestReportTestBackboneElement>>,
pub teardown: Option<TestReportTeardownBackboneElement>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
identifier: Option<Identifier>
External identifier
name: Option<StringDt>
Informal name of the executed TestReport
status: Option<CodeDt>
completed | in-progress | waiting | stopped | entered-in-error
test_script: Option<CanonicalDt>
Canonical URL to the version-specific TestScript that was executed to produce this TestReport
result: Option<CodeDt>
pass | fail | pending
score: Option<DecimalDt>
The final score (percentage of tests passed) resulting from the execution of the TestScript
tester: Option<StringDt>
Name of the tester producing this report (Organization or individual)
issued: Option<DateTimeDt>
When the TestScript was executed and this TestReport was generated
participant: Option<Vec<TestReportParticipantBackboneElement>>
A participant in the test execution, either the execution engine, a client, or a server
setup: Option<TestReportSetupBackboneElement>
The results of the series of required setup operations before the tests were executed
test: Option<Vec<TestReportTestBackboneElement>>
A test executed from the test script
teardown: Option<TestReportTeardownBackboneElement>
The results of running the series of required clean up steps
Implementations§
Source§impl TestReport
impl TestReport
pub fn set_identifier(self, v: Identifier) -> Self
pub fn set_name<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_status<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_test_script<T: Into<CanonicalDt>>(self, v: T) -> Self
pub fn set_result<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_score<T: Into<DecimalDt>>(self, v: T) -> Self
pub fn set_tester<T: Into<StringDt>>(self, v: T) -> Self
pub fn set_issued<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_participant( self, v: Vec<TestReportParticipantBackboneElement>, ) -> Self
pub fn add_participant(self, v: TestReportParticipantBackboneElement) -> Self
pub fn set_setup(self, v: TestReportSetupBackboneElement) -> Self
pub fn set_test(self, v: Vec<TestReportTestBackboneElement>) -> Self
pub fn add_test(self, v: TestReportTestBackboneElement) -> Self
pub fn set_teardown(self, v: TestReportTeardownBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for TestReport
impl Clone for TestReport
Source§fn clone(&self) -> TestReport
fn clone(&self) -> TestReport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more