Added destFile to set the file to write execution data to

This commit is contained in:
Erik C. Thauvin 2023-08-11 22:31:51 -07:00
parent 541ed74d9f
commit 951329595b
3 changed files with 22 additions and 3 deletions

View file

@ -62,8 +62,8 @@ class JacocoReportOperationTest {
assertThat(lines.anyMatch(s ->
s.contains("<counter type=\"INSTRUCTION\" missed=\"0\" covered=\"3\"/>"))).isTrue();
}
// deleteOnExit(tempDir.toFile());
assertThat(Path.of(html.getPath(), "com.example", "Examples.java.html")).exists();
deleteOnExit(tempDir.toFile());
}
JacocoReportOperation newJacocoReportOperation() {