Comments on: Detailed Report for PartCover in TeamCity 5.1 https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/ coach, trainer and bdd addict, creator of SpecFlow; owner of Spec Solutions Mon, 28 Mar 2011 11:59:30 +0000 hourly 1 https://wordpress.org/?v=6.9.4 By: Gáspár https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-24 Mon, 28 Mar 2011 11:59:30 +0000 http://www.gasparnagy.com/?p=21#comment-24 I haven't done such integration yet. Basically you would need to call specflow.exe from a command line build step to convert the unit test results to specflow reports. If you had success with it, just post it here.

]]>
By: Aykut K https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-23 Thu, 24 Mar 2011 13:58:52 +0000 http://www.gasparnagy.com/?p=21#comment-23 Is it possible to view specflow reports in teamcity?

]]>
By: Gáspár https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-19 Mon, 17 Jan 2011 08:22:48 +0000 http://www.gasparnagy.com/?p=21#comment-19 Good point. I have added a “Simplified BSD License” header to the file. So you can use/modify it for free, just keep the original copyright notice.

]]>
By: litlit https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-18 Mon, 17 Jan 2011 06:37:24 +0000 http://www.gasparnagy.com/?p=21#comment-18 Hi Gaspar,

Thanks for posting this.

I'd just like to ask if what's the license for your xslt file?

]]>
By: Gáspár https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-17 Thu, 28 Oct 2010 07:43:43 +0000 http://www.gasparnagy.com/?p=21#comment-17 Yes, that can happen. I'm also not too familiar with the java xslt, but what I have noticed that instead of msxsl:node-set(…) it is better to use exsl:node-set(…) that works on both platforms (xmlns:exsl=”http://exslt.org/common”). There are also other useful cross-platform functions on http://exslt.org/, but I did not checked them.

]]>
By: Josh Buedel https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-16 Thu, 28 Oct 2010 00:20:47 +0000 http://www.gasparnagy.com/?p=21#comment-16 My settings are close to yours, though not identical. I don't think it matters though because I can confirm that the partcover xml is *definitely* being created.

I've narrowed it down to some specific weirdness. When I use *your* xslt, all works as expected. When I use *my* xslt, it does not work at all. Both xslts produce valid html when run via the VS2010 xml tools. I'm thinking the java xslt engine might not like my xslt perhaps. Anyways, I'll take it up with JetBrains on the support forum. Thanks!

]]>
By: Gáspár https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-15 Wed, 27 Oct 2010 09:57:13 +0000 http://www.gasparnagy.com/?p=21#comment-15 Thx!

Yes, I do see the coverage delta from TeamCity on the overview page, and I also see the XML in the artifacts. So there must be some other reason why it is not displayed for you. Do you have the same settings as I do (like on the screenshot in the post)? I'm using TeamCity Version 5.1.4 (build 13550), but I have seen that there is a newer version already, are you maybe using that already?

(Strangely the numbers calculated by TeamCity are slightly different from the ones calculated by me, but I did not look after this too deeply.)

]]>
By: Josh Buedel https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-14 Tue, 26 Oct 2010 19:33:33 +0000 http://www.gasparnagy.com/?p=21#comment-14 Thanks for posting this. It's been helpful to me, particularly your xslt.

Are you seeing the TeamCity “coverage delta” graphic? It normally appears on the build overview page, as a nice green graph. I am *not* seeing it. I'm also not seeing the partcover xml file show up in the artifacts, which I believe it does by default. I'm confident it is being generated, because I see it referenced in the log and I was able to capture it out of the agent's build temp once.

Thanks for any insight you can provide.

]]>
By: A madman seeking imbalance https://gasparnagy.com/2010/09/detailed-report-for-partcover-in-teamcity-5-1/#comment-13 Sun, 03 Oct 2010 15:59:56 +0000 http://www.gasparnagy.com/?p=21#comment-13 Gaspar, this seriously is AWESOME work.

I am extremely grateful to you, and so will my team.

Thanks a lot for such a valuable contribution!

]]>