I have no idea, what asserion error was expected there? but it is not thrown now. maybe rollback and look
net.ranides.assira.junit.TestContractRunnerTest#testInvalid
I have no idea, what asserion error was expected there? but it is not thrown now. maybe rollback and look
explained: exception never was thrown. our NewAssert#assertThrows catches their own AssertionError from #fail.
assertThrows(AssertionError.class, ...) will always succeed.
New version of JUnit 4.13 introduced their own "assertThrows" and it works correclty.
explained: exception never was thrown. our NewAssert#assertThrows catches their own AssertionError from #fail.
assertThrows(AssertionError.class, ...) will always succeed.
New version of JUnit 4.13 introduced their own "assertThrows" and it works correclty.
net.ranides.assira.junit.TestContractRunnerTest#testInvalid
I have no idea, what asserion error was expected there? but it is not thrown now. maybe rollback and look
explained: exception never was thrown. our NewAssert#assertThrows catches their own AssertionError from #fail.
assertThrows(AssertionError.class, ...) will always succeed.
New version of JUnit 4.13 introduced their own "assertThrows" and it works correclty.