Trying to write junit test missing some basisc

Posted by Gandalf StormCrow on Stack Overflow See other posts from Stack Overflow or by Gandalf StormCrow
Published on 2010-03-12T12:34:51Z Indexed on 2010/03/12 12:37 UTC
Read the original article Hit count: 212

Filed under:
|

When I try to use assertNotLesser or assertNotGreater I get compile error .. and eclipse suggest me to create a new method called like this .. http://junit-addons.sourceforge.net/junitx/framework/ComparableAssert.html I found it here I never used these options before but I need to write this test, I can do it jmock as well but I don't know how .. I need to compare my expected results let say 0, if the real result is greater that the test should fail.

© Stack Overflow or respective owner

Related posts about java

Related posts about junit