Introduce enum value for test case expectation to enable modelling of unassertive tests!

This commit is contained in:
Paul Schaub 2022-04-02 17:31:38 +02:00
parent a91b6660bb
commit 40d5d6eba6
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 21 additions and 7 deletions

View file

@ -66,7 +66,7 @@ public class TestSuiteTestRunner {
if (testCase.isExpectSuccess()) {
assertEquals(0, exitCode, testCase.getTestDescription());
} else {
} else if (testCase.isExpectFailure()) {
assertNotEquals(0, exitCode, testCase.getTestDescription());
}
});