Files
cje-crash-course/exercises/05-test-execution-and-reporting/solution/solution.md
Benjamin Muschko 57896f0303 Clarify some details
2019-11-18 17:11:32 -07:00

1021 B

Solution

Publish the JUnit reports by pointing to the exact directory containing the XML files.

Publish JUnit Results

After executing the build twice you will see a test result trend graph.

JUnit Test Trend

Publish the JUnit reporting by using a wild card.

Publish All JUnit Results

The trend changes accordingly.

Changed Test Result Trend

Install the JaCoCo plugin from the Plugin Manager page.

JaCoCo Plugin

Change the task list executed by the Gradle build step.

JaCoCo Tasks

Configure JaCoCo reporting.

JaCoCo Configuration

The JaCoCo coverage trend renders after executing the build twice.

JaCoCo Coverage Report Trend

You can drill into the details of the report.

JaCoCo Coverage Report Trend