Code Coverage Data

Should code coverage data be stored if you manually stop the Java process?

I'm trying to capture data for an application which won't terminate unless you stop the JVM, and when I stop it manually in IDEA, I'm presented with the question of "Do you wish to view the code coverage data for process X?". However, no data is written out to disk and the code coverage suite cannot be selected, even though it appears in the list of suites available. The only way I can get code coverage data to be written out is if the Java process runs to completion.

Please sign in to leave a comment.