Skip to content

Commit

Permalink
Test more comprehensively
Browse files Browse the repository at this point in the history
  • Loading branch information
magaupp committed Oct 15, 2024
1 parent 4144f86 commit a444db5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ void testNestedTestsuite() throws IOException {
""";

TestResultXmlParser.processTestResultFile(input, failedTests, successfulTests);
assertThat(successfulTests).hasSize(12);
assertThat(successfulTests).hasSize(12).extracting(BuildResult.LocalCITestJobDTO::getName).containsExactlyInAnyOrder("Testing filtering in A", "Testing mapping in A",
"Testing filtering in B", "Testing mapping in B", "Testing filtering in C", "Testing mapping in C", "Testing A against sample solution",
"Testing B against sample solution", "Testing C against sample solution", "Testing selectAndReflectA (0,0) []", "Testing selectAndReflectB (0,1) [(0,0)]",
"Testing selectAndReflectC (0,1) [(-1,-1)]");
assertThat(failedTests).isEmpty();
}
}

0 comments on commit a444db5

Please sign in to comment.