Articles

MSBuild & Gallio Reports…

Recently I found this interesting article about Running Gallio tests using MSBuild: http://www.bryanavery.co.uk/post/2010/06/07/Running-Gallio-tests-using-MSBuild.aspx

I currently use Hudson CI for continuos integration therefore I needed to generate Gallio reports in xml  format, so I made some simple modifications, specially in how the Gallio task is called:

<Gallio IgnoreFailures=”true” Files=”@(TestFiles)” ReportDirectory=”$(TestResultsDirectory)”  ReportTypes=”html;xml”>
<Output TaskParameter=”ExitCode” PropertyName=”ExitCode” />
</Gallio>

You can download the msbuild file here: BuildAndTest

Hope it helps.

Leave a Reply

Rss Feed Tweeter button Facebook button Linkedin button