Code coverage data not showing
Hello,
I'm running TeamCity 3.1.
I've successfully ran a complete Ipr build with tests and all, and activated code coverage. I got the code coverage artifacts but can't see the coverage graph on the server...
Gilles
Please sign in to leave a comment.
Hello,
Do you see "Code Coverage" tab and coverage indicators (green bars) on build results?
--
Pavel Sher
No i'm sorry, the code coverage tab is empty ...
Still, i have coverage.em (10mb), coverage.ec (500kb) in my checkout directory, and i can download the code coverage data in my ide though... weird isn't it ;) ?
Gilles
Gilles Philippart wrote:
TC requires coverage.txt summary report.
--
Alexey Gopachenko
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello,
Could you please submit an issue to our tracker and attach there your build log?
--
Pavel Sher
Now it's ok, i fixed the issue. There was a OOM in the build log. I increased the heap space with -Xmx=1024m in the JVM args.
Maybe you should put some hint in the Runner settings indicating that EMMA coverage may need more memory.
Usually it does not require so much memory however it might depend on the project size. If you are using relatively new Java (1.6 or 1.5_012) then you can try to add -XX:+HeapDumpOnOutOfMemoryError JVM argument and when OOM occurs you'll have memory snapshot in the working directory on agent.
--
Pavel Sher