问题
I have just installed Eclemma in my eclipse and created a JUnit test to be covered. I runned the test and it succeeded, green and red banners shown in my program, but I can't see any "coverage" view like the instruction shown ( nor in Window-Show View).
How can I resolve this problem? Do I have to re-write my JUnit test or re-install EclEmma?
Thanks!
回答1:
Window -> Show View -> Other -> select coverage / type coverage.
You will see the java code coverage.
来源:https://stackoverflow.com/questions/10038602/in-eclipse-eclemma-coverage-view-not-being-shown