Hello,
How to enable assertions during execution of test cases?
I have MyClass with one method:
public static void foo() {
assert false;
}
And a test case for MyClass:
public void testFoo() {
MyClass.foo();
}
And I'd like to see java.lang.AssertionError throwed in a result of "mvn
test" execution. How do I achieve that?
--
Best regards,
Wojciech Gdela.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]