Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
I have used offline instrumentation to instrument the classes and want to check coverage after executing the test suite that I have.
However, I am seeing that no coverage.ec file is being generated when all the test cases have been executed through automation although the file was successfully generated when I manually executed few tests or executed few test cases via automation. Don't know what the problem could be.
Can somebody please help with me with this query?
Marc R. Hoffmann
there are two things to check:
1) What is your working directory in case of automated execution? Maybe the file is created at a different location.
2) Make sure the JVM terminates properly.
Your 2nd point(jvm not terminating) was the reason that the coverage.ec file was not being generated. Now I am using ctl tool to get the coverage file without terminating jvm.