BrokenTests implementation

java.lang.AssertionError: Test cases must result in at least one failure on this broken implementation.

Am basically passing all other tests except from the broken ones and wish to know what’s this error about because am not getting back an error line from what I wrote like in the other testcases. Does it mean that I have to write some testcases which aren’t correct???

For example:

assertEquals(“htp://”, something–(http://))

Is this what I should do even though I know that the result should be http:// and not htp://. But that’s also some kind of weird because am pretty sure that I will get some AssertionErrors If I push something of the sort.

This means that your tests are not complete enough. A wrong implementation succeeds on all of your tests. Therefore, you are unable to find the bug.

Thanks