Struct aws_sdk_codebuild::types::Report
source · #[non_exhaustive]pub struct Report {
pub arn: Option<String>,
pub type: Option<ReportType>,
pub name: Option<String>,
pub report_group_arn: Option<String>,
pub execution_id: Option<String>,
pub status: Option<ReportStatusType>,
pub created: Option<DateTime>,
pub expired: Option<DateTime>,
pub export_config: Option<ReportExportConfig>,
pub truncated: Option<bool>,
pub test_summary: Option<TestReportSummary>,
pub code_coverage_summary: Option<CodeCoverageReportSummary>,
}
Expand description
Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: Option<String>
The ARN of the report run.
type: Option<ReportType>
The type of the report that was run.
- CODE_COVERAGE
-
A code coverage report.
- TEST
-
A test report.
name: Option<String>
The name of the report that was run.
report_group_arn: Option<String>
The ARN of the report group associated with this report.
execution_id: Option<String>
The ARN of the build run that generated this report.
status: Option<ReportStatusType>
The status of this report.
created: Option<DateTime>
The date and time this report run occurred.
expired: Option<DateTime>
The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
export_config: Option<ReportExportConfig>
Information about where the raw data used to generate this report was exported.
truncated: Option<bool>
A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
test_summary: Option<TestReportSummary>
A TestReportSummary
object that contains information about this test report.
code_coverage_summary: Option<CodeCoverageReportSummary>
A CodeCoverageReportSummary
object that contains a code coverage summary for this report.
Implementations§
source§impl Report
impl Report
sourcepub fn type(&self) -> Option<&ReportType>
pub fn type(&self) -> Option<&ReportType>
The type of the report that was run.
- CODE_COVERAGE
-
A code coverage report.
- TEST
-
A test report.
sourcepub fn report_group_arn(&self) -> Option<&str>
pub fn report_group_arn(&self) -> Option<&str>
The ARN of the report group associated with this report.
sourcepub fn execution_id(&self) -> Option<&str>
pub fn execution_id(&self) -> Option<&str>
The ARN of the build run that generated this report.
sourcepub fn status(&self) -> Option<&ReportStatusType>
pub fn status(&self) -> Option<&ReportStatusType>
The status of this report.
sourcepub fn expired(&self) -> Option<&DateTime>
pub fn expired(&self) -> Option<&DateTime>
The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
sourcepub fn export_config(&self) -> Option<&ReportExportConfig>
pub fn export_config(&self) -> Option<&ReportExportConfig>
Information about where the raw data used to generate this report was exported.
sourcepub fn truncated(&self) -> Option<bool>
pub fn truncated(&self) -> Option<bool>
A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
sourcepub fn test_summary(&self) -> Option<&TestReportSummary>
pub fn test_summary(&self) -> Option<&TestReportSummary>
A TestReportSummary
object that contains information about this test report.
sourcepub fn code_coverage_summary(&self) -> Option<&CodeCoverageReportSummary>
pub fn code_coverage_summary(&self) -> Option<&CodeCoverageReportSummary>
A CodeCoverageReportSummary
object that contains a code coverage summary for this report.