Rogério Liesenfeld
Rogério Liesenfeld
Currently, a line such as "return var != null;" will display three segments, as if it was written as "return var != null ? true : false;". Instead, only one...
"for-each" loops are ok, but "for" loops with semicolons don't count/display all segments that exist.
The @RunWith annotation has been widely successful in enabling the integration of other testing tools with JUnit. For example, the following testing libraries (among others) use it: jMock, Mockito, JMockit,...