SDLC Automation
An AWS CodeBuild project generates JUnit XML test results. Developers need CodeBuild to display individual test failures and test-duration metrics rather than only retain downloadable files. What should they configure?
Show the answer
Correct answerC. A buildspec reports entry that includes the JUnit XML files
AWhy not this: Artifacts preserve the XML files but do not provide structured CodeBuild test results.
BWhy not this: Build logs capture output but do not parse JUnit XML into test reports.
CWhy this is right: The reports section identifies test-result files for CodeBuild to process into structured reports.
DWhy not this: Build caching reuses files across builds rather than publishing test results.
A buildspec reports entry lets CodeBuild process supported test-result files into test reports with failure details and duration metrics. An artifacts entry preserves files but does not turn them into structured CodeBuild test reports.