Code Coverage for NUnit
I installed TC 4.0 EAP build 7200 and can't find any option for enabling code coverage analysis for NUnit tests. Isn't that supported?
Regards,
Stefan Lieser
--
http://www.lieser-online.de
Please sign in to leave a comment.
I installed TC 4.0 EAP build 7200 and can't find any option for enabling code coverage analysis for NUnit tests. Isn't that supported?
Regards,
Stefan Lieser
--
http://www.lieser-online.de
Please sign in to leave a comment.
Stefan,
TeamCity supports coverage reports only for Java out of the box.
You can tweak your build script to measure code coverage with any third-party tool and then make the HTML report available on the build results.
There are several blog posts on such integration.
--
Best regards,
Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Would it be possible to add that for the next version? Code coverage is
pretty common thing (even in .NET believe it or not) and I would like to see
an out-of-the-box support for this even if possible. I saw on your web site
that for the Calcutta version you plan on improving .NET framework
integration -- can you add NUnit code coverage there please?
Thank you,
David Pokluda.
"Yegor Yarko (JetBrains)" <no_reply@jetbrains.com> wrote in message
news:1214627.52541212489168231.JavaMail.jive@app4.labs.intellij.net...
>
>
>
>
>
David,
Please watch/vote for the corresponding issue in our tracker: http://jetbrains.net/tracker/issue/TW-4740
We considered integration with a coverage tool, but as a seamless integration can require quite a bit of effort, I am not sure we will have enough resources to address this in 4.0 release.
BTW, this functionality can be probably approached as a dedicated runner and in this case it can be easily implemented as a third-party plugin (written in Java, though).
--
Best regards,
Yegor Yarko
Project Manager
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"