mirror of
https://codeberg.org/PGPainless/wkd-java.git
synced 2025-09-09 03:09:39 +02:00
Introduce enum value for test case expectation to enable modelling of unassertive tests!
This commit is contained in:
parent
a91b6660bb
commit
40d5d6eba6
2 changed files with 21 additions and 7 deletions
|
@ -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());
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue