2009-10-18 13:43:00 UTC
Dear all,
I've just discovered EclEmma and it works great. I have a JUnit 4 test suite which looks like this:
import org.junit.runner.RunWith;<br />
import org.junit.runners.Suite;<br />
@RunWith(Suite.class)<br />
@Suite.SuiteClasses({Class1Test.class, Class2Test.class})<br />
public class AllTests {<br />
}
EclEmma tells me that AllTests has 0% coverage because the "code" in the class AllTests is not run at all. Consequently, the overall coverage results become less than the 100% I'm trying to achieve.
Is it possible to tell EclEmma to ignore the AllTests class?