Open GoogleCodeExporter opened 8 years ago
You can indeed specify where the assets live.
Take a look at the Gallio-Report.ccnet-details.xsl file in extras\CCNet. That
might
give you some ideas.
For CCNet integration, we also have a little plugin that provides access to
embedded
attachments (images, etc.) within the reports. You'll probably want to build
something like that for Cruise too.
In any case, I would appreciate it if you could help us support Cruise CI
server by
contributing back any new infrastructure you build.
Original comment by jeff.br...@gmail.com
on 18 Sep 2008 at 8:55
Original comment by jeff.br...@gmail.com
on 11 Nov 2008 at 8:32
It's quite hard to make Gallio run smoothly with CruiseControl.NET!
After playing around for some days, there are two things:
Please include the 'How to use Gallio with CruiseControl.Net' text file with
the
next release in the 'Gallio\extra\CCNet' folder. It's not a big thing, but it
can
save you a lot of time :).
Attached is an enhancement to the webdashboard: I created an xsl file that
shows a
nice little Gallio summary on the Project Build page (instead of the ugly and
misleading 'No tests' standard summary). The attached file contains also an
updated
version of the 'How to use Gallio with CruiseControl.Net' document.
Hope this helps.
Regards
Thomas
Original comment by thomaswe...@googlemail.com
on 18 Feb 2009 at 9:24
Attachments:
Another remark:
If you want to include statistics, add the following to ccnet.config to the
<publishers> section after <merge>:
<statistics>
<statisticList>
<firstMatch name="TestCount" xpath="//*[local-name()='statistics' and
namespace-uri()='http://www.gallio.org/']/@testCount"/>
<firstMatch name="TestSteps" xpath="//*[local-name()='statistics' and
namespace-uri()='http://www.gallio.org/']/@stepCount"/>
<firstMatch name="TestsRun" xpath="//*[local-name()='statistics' and
namespace-uri()='http://www.gallio.org/']/@runCount"/>
<firstMatch name="TestFailures" xpath="//*[local-name()='statistics' and
namespace-uri()='http://www.gallio.org/']/@failedCount"/>
<firstMatch name="TestsPassed" xpath="//*[local-name()='statistics' and
namespace-uri()='http://www.gallio.org/']/@passedCount"/>
<firstMatch name="TestsInconclusive" xpath="//*[local-name()='statistics'
and namespace-uri()='http://www.gallio.org/']/@inconclusiveCount"/>
<firstMatch name="TestAsserts" xpath="//*[local-name()='statistics' and
namespace-uri()='http://www.gallio.org/']/@assertCount"/>
<firstMatch name="TestSkipped" xpath="//*[local-name()='statistics' and
namespace-uri()='http://www.gallio.org/']/@skippedCount"/>
<firstMatch name="TestDuration" xpath="//*[local-name()='statistics' and
namespace-uri()='http://www.gallio.org/']/@duration"/>
</statisticList>
</statistics>
Maybe you should consider giving the default namespace in the gallio report a
prefix, like so:
<report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:gallio="http://www.gallio.org/">
Although this would be somewhat of a 'breaking change', it would greatly
simplify
writing XPath queries (what you have to in various ways when integrating Gallio
with
CC.Net).
The above lines would then become as simple as this:
<firstMatch name="TestCount" xpath="//gallio:statistics/@testCount"/>
Original comment by thomaswe...@googlemail.com
on 19 Feb 2009 at 9:11
Original comment by jeff.br...@gmail.com
on 29 Jun 2009 at 8:32
Original comment by Yann.Tre...@gmail.com
on 14 Jun 2011 at 5:53
Original issue reported on code.google.com by
peter.mo...@gmail.com
on 21 Aug 2008 at 8:49