> I have a class with an assert keyword.
> Now, when an assert fails, the test is marked as "not
> passed". There is a manner to test that the assert fail (I
> mean in a "positive" way, like with the try catch for the exception).
Just test that a java.lang.AssertionError got thrown, just as you would test
any other Exception.
Cheers, Ilja
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
