Test Reports with AWS CodeBuild #12178
Labels
new-resource
Introduces a new resource.
service/codebuild
Issues and PRs that pertain to the codebuild service.
Milestone
Community Note
Description
AWS extended the Codebuild Service with new functionality: Test Reports
The Report Groups can be populated form within a build by exporting JUnit or Cucumber test reports. Also, these reports can be persisted to S3 if specified on the Report Group.
"AWS CodeBuild announced the launch of a new feature in CodeBuild called Reports. This feature allows you to view the reports generated by functional or integration tests. The reports can be in the JUnit XML or Cucumber JSON format. You can view metrics such as Pass Rate %, Test Run Duration, and number of Passed versus Failed/Error test cases in one location. Builders can use any testing frameworks as long as the reports are generated in the supported formats.
You can see the test reports created by CodeBuild in the respective Report Group, where they are stored for 30 days. For longer retention, you can store the reports in an Amazon S3 bucket. Each test report is further broken down by individual test cases."
Also, boto3 already supports the new functionality.
New or Affected Resource(s)
Potential Terraform Configuration
References
https://aws.amazon.com/blogs/devops/test-reports-with-aws-codebuild/
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/codebuild.html
The text was updated successfully, but these errors were encountered: