1.

Why does JUnit only report the first failure in a single test?

Answer»

Reporting multiple failures in a single test is generally a sign that the test does too much and it is too big a unit test. JUnit is designed to work best with a number of small tests. It executes each test within a separate instance of the test class. It reports failure on each test.



Discussion

No Comment Found