Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
klonky2578yWell.. You would want to test for a result you know the implementations should give (or not give).. like 2+2 you know it should give you 4.
-
Bikonja23838y@tomabolt you compare the result it gives for some params with what you know is the correct result, e.g. for 3 and 4 do assertEquals(3, 4) == false and do the same thing for various use cases and fringe cases.
-
@Bikonja yep, so when testing a test framework you can't rely on a test framework. So bad
Question I ask myself : does jUnit is tested with jUnit? What if there is a bug? How to know if the bug is from the framework or the tests cases :o
undefined