I'm running TeamCity 3.1.1
I have a simple build running an ant script ( ANT 1.7.0) with a Junit task.
It doesn't compile the project, instead it is triggered by another TeamCity build that does.
I've checked "Enable code coverage" option for the Junit build, but it seams to have no effect.
At the end of the build log I see:
\[Publishing artifacts] Artifacts path coverage.txt not found
\[Publishing artifacts] Artifacts path coverage not found
\[Publishing artifacts] Artifacts path coverage.ec not found
\[Publishing artifacts] Artifacts path coverage.em not found
I can see that EMMA jars and system properties are added to the JVM running the unit tests, but that's the only thing related to EMMA in the log.
I could find virtually no documentation on how this code coverage feature is supposed to work.
In the GUI there is only the one check box "Enable code coverage" with a cryptic message under it:
"Add 'clean' target in your Ant build for this option to work".
What am I missing?