Emma coverage

2 views
Skip to first unread message

Braden Shaak

unread,
Dec 5, 2011, 4:16:40 AM12/5/11
to CPSC410-2011
I am having a problem with Emma, I have some Junit tests as well as
some httpClient tests and for some reason I can only get it to report
the coverage for the Junit tests. I've read in some other posts that
Emma will create 2 coverage.ec files, however I am not able to locate
the second file. I have carefully followed the instructions and it
works for Junit tests. Anyone have any Idea what is going on?

Thanks,
Braden

Justin Leung

unread,
Dec 5, 2011, 4:21:38 AM12/5/11
to CPSC410-2011
Don't follow the instructions. Stop the eclipse server before you
clean the project. After the junit tests finish, it should generate
a .ec file in the project directory. when you stop the server, it will
generate .ec file in the eclipse directory. THEN clean your project.

put the two .ec files together somewhere and merge them.

Braden Shaak

unread,
Dec 5, 2011, 5:43:39 PM12/5/11
to CPSC410-2011
I've tried everything. I can't get it to produce the second coverage
file. I have no idea what is going wrong
Reply all
Reply to author
Forward
0 new messages