It will be nice if PartCover had integration with CruiseControl.Net Web Dashboard similar to NCover web reporting. Need xsl files to parse coverage.xml output and display in Internet Browser.
From CCNET I call one script NAnt script that build my .NET assembly, execute the Nunit with PartCover, run a XSL to generate a XML that contains the sources, run another XSL that chek the result of NUnit and fail if there are test failures (because the PartCover Console process return always 0 and not the what NUnit returns).
In CCNET, I have 2 xsl, one for summary page. A second XSL report shows the coverage of each class and the source code like in corbetura.sourceforge.net.
(http://cobertura.sourceforge.net/sample/net.sourceforge.cobertura.ant.CommonMatchingTask.html)
I can't post attachement to this issues... I don't know how I can publish in this project...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
deleze,
You can send your files to oregu at users.sourceforge.net or to mr2dark at users.sourceforge.net. We'll then attach them to this issue and commit them into SVN and/or publish them on the web site as an integration sample (with credits to you, of course). But you should explicitly agree in the letter that the terms of the GPL License (which is used in this project) are applied to the attached files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1394990
Originator: NO
could you please provide (attach) an example of output html file to create xslt needed?
Logged In: YES
user_id=798662
Originator: NO
I have done the integration.
From CCNET I call one script NAnt script that build my .NET assembly, execute the Nunit with PartCover, run a XSL to generate a XML that contains the sources, run another XSL that chek the result of NUnit and fail if there are test failures (because the PartCover Console process return always 0 and not the what NUnit returns).
In CCNET, I have 2 xsl, one for summary page. A second XSL report shows the coverage of each class and the source code like in corbetura.sourceforge.net.
(http://cobertura.sourceforge.net/sample/net.sourceforge.cobertura.ant.CommonMatchingTask.html)
I can't post attachement to this issues... I don't know how I can publish in this project...
Logged In: YES
user_id=1064535
Originator: NO
deleze,
You can send your files to oregu at users.sourceforge.net or to mr2dark at users.sourceforge.net. We'll then attach them to this issue and commit them into SVN and/or publish them on the web site as an integration sample (with credits to you, of course). But you should explicitly agree in the letter that the terms of the GPL License (which is used in this project) are applied to the attached files.
Logged In: YES
user_id=1947652
Originator: NO
Hernan Garcia has a couple of posts on his blog describing how he accomplished this:
http://www.blog.latrompa.com/?p=72
http://www.blog.latrompa.com/?p=73