Struct azure_devops_rust_api::test_results::models::TestCaseResult
source · pub struct TestCaseResult {Show 49 fields
pub afn_strip_id: Option<i32>,
pub area: Option<ShallowReference>,
pub associated_bugs: Vec<ShallowReference>,
pub automated_test_id: Option<String>,
pub automated_test_name: Option<String>,
pub automated_test_storage: Option<String>,
pub automated_test_type: Option<String>,
pub automated_test_type_id: Option<String>,
pub build: Option<ShallowReference>,
pub build_reference: Option<BuildReference>,
pub comment: Option<String>,
pub completed_date: Option<OffsetDateTime>,
pub computer_name: Option<String>,
pub configuration: Option<ShallowReference>,
pub created_date: Option<OffsetDateTime>,
pub custom_fields: Vec<CustomTestField>,
pub duration_in_ms: Option<f64>,
pub error_message: Option<String>,
pub failing_since: Option<FailingSince>,
pub failure_type: Option<String>,
pub id: Option<i32>,
pub iteration_details: Vec<TestIterationDetailsModel>,
pub last_updated_by: Option<IdentityRef>,
pub last_updated_date: Option<OffsetDateTime>,
pub outcome: Option<String>,
pub owner: Option<IdentityRef>,
pub priority: Option<i32>,
pub project: Option<ShallowReference>,
pub release: Option<ShallowReference>,
pub release_reference: Option<ReleaseReference>,
pub reset_count: Option<i32>,
pub resolution_state: Option<String>,
pub resolution_state_id: Option<i32>,
pub result_group_type: Option<ResultGroupType>,
pub revision: Option<i32>,
pub run_by: Option<IdentityRef>,
pub stack_trace: Option<String>,
pub started_date: Option<OffsetDateTime>,
pub state: Option<String>,
pub sub_results: Vec<TestSubResult>,
pub test_case: Option<ShallowReference>,
pub test_case_reference_id: Option<i32>,
pub test_case_revision: Option<i32>,
pub test_case_title: Option<String>,
pub test_plan: Option<ShallowReference>,
pub test_point: Option<ShallowReference>,
pub test_run: Option<ShallowReference>,
pub test_suite: Option<ShallowReference>,
pub url: Option<String>,
}
Expand description
Represents a test result.
Fields§
§afn_strip_id: Option<i32>
Test attachment ID of action recording.
area: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
associated_bugs: Vec<ShallowReference>
Reference to bugs linked to test result.
automated_test_id: Option<String>
ID representing test method in a dll.
automated_test_name: Option<String>
Fully qualified name of test executed.
automated_test_storage: Option<String>
Container to which test belongs.
automated_test_type: Option<String>
Type of automated test.
automated_test_type_id: Option<String>
TypeId of automated test.
build: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
build_reference: Option<BuildReference>
Reference to a build.
comment: Option<String>
Comment in a test result with maxSize= 1000 chars.
completed_date: Option<OffsetDateTime>
Time when test execution completed(UTC). Completed date should be greater than StartedDate.
computer_name: Option<String>
Machine name where test executed.
configuration: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
created_date: Option<OffsetDateTime>
Timestamp when test result created(UTC).
custom_fields: Vec<CustomTestField>
Additional properties of test result.
duration_in_ms: Option<f64>
Duration of test execution in milliseconds. If not provided value will be set as CompletedDate - StartedDate
error_message: Option<String>
Error message in test execution.
failing_since: Option<FailingSince>
Failing since information of a test result.
failure_type: Option<String>
Failure type of test result. Valid Value= (Known Issue, New Issue, Regression, Unknown, None)
id: Option<i32>
ID of a test result.
iteration_details: Vec<TestIterationDetailsModel>
Test result details of test iterations used only for Manual Testing.
last_updated_by: Option<IdentityRef>
§last_updated_date: Option<OffsetDateTime>
Last updated datetime of test result(UTC).
outcome: Option<String>
Test outcome of test result. Valid values = (Unspecified, None, Passed, Failed, Inconclusive, Timeout, Aborted, Blocked, NotExecuted, Warning, Error, NotApplicable, Paused, InProgress, NotImpacted)
owner: Option<IdentityRef>
§priority: Option<i32>
Priority of test executed.
project: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
release: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
release_reference: Option<ReleaseReference>
Reference to a release.
reset_count: Option<i32>
ResetCount.
resolution_state: Option<String>
Resolution state of test result.
resolution_state_id: Option<i32>
ID of resolution state.
result_group_type: Option<ResultGroupType>
Hierarchy type of the result, default value of None means its leaf node.
revision: Option<i32>
Revision number of test result.
run_by: Option<IdentityRef>
§stack_trace: Option<String>
Stacktrace with maxSize= 1000 chars.
started_date: Option<OffsetDateTime>
Time when test execution started(UTC).
state: Option<String>
State of test result. Type TestRunState.
sub_results: Vec<TestSubResult>
List of sub results inside a test result, if ResultGroupType is not None, it holds corresponding type sub results.
test_case: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
test_case_reference_id: Option<i32>
Reference ID of test used by test result. Type TestResultMetaData
test_case_revision: Option<i32>
TestCaseRevision Number.
test_case_title: Option<String>
Name of test.
test_plan: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
test_point: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
test_run: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
test_suite: Option<ShallowReference>
An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
url: Option<String>
Url of test result.
Implementations§
Trait Implementations§
source§impl Clone for TestCaseResult
impl Clone for TestCaseResult
source§fn clone(&self) -> TestCaseResult
fn clone(&self) -> TestCaseResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestCaseResult
impl Debug for TestCaseResult
source§impl Default for TestCaseResult
impl Default for TestCaseResult
source§fn default() -> TestCaseResult
fn default() -> TestCaseResult
source§impl<'de> Deserialize<'de> for TestCaseResult
impl<'de> Deserialize<'de> for TestCaseResult
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl PartialEq for TestCaseResult
impl PartialEq for TestCaseResult
source§fn eq(&self, other: &TestCaseResult) -> bool
fn eq(&self, other: &TestCaseResult) -> bool
self
and other
values to be equal, and is used
by ==
.