Gallio integration with NANT and CruiseControl.NET

In our build process, we are currently using MBUnit 2.x tests called from NAnt task, called from CruiseControl.NET. I was brought up in Gallio and MBUnit 3.x locally and am good at running tests with VS2008. I am having problems updating our build process. It looks like we have two options, either run tests from CruiseControl.net or from NAnt. Based on this, I have two questions:

  • All things being equal , where should these tests be performed, NAnt or CruiseControl.net, or does it really matter at all?

  • If you enjoy doing this kind of thing in NAnt, do you have any documentation or examples on how to implement it ? I found documentation for CC.NET soution in my Gallio \ extra \ CCNet directory in Gallio installation.

thank

+2


source to share


1 answer


Your options for running tests as part of your build with Gallio are similar to what they were with MbUnit v2.

I recommend running tests from NAnt or MSBuild scripts using the provided tasks in Gallio.NAntTasks.dll and Gallio.MSBuildTasks.dll.

However, if you want to run tests directly from the CCNet configuration, you can add a CCNet task to run the Gallio.Echo.exe program.



Here's a bit more information about the NAnt problem that someone else wrote about. Some of the details have been changed in recent releases, but that should get you on the right track.

http://testdrivendevelopment.wordpress.com/2008/12/01/use-nant-to-run-mbunit-tests-using-gallio/

+1


source







All Articles