Skip to content

Gallio Alpha 2 hits, with PowerShell support

So, if you’re a big fan of unit-testing or test-driven development, you’ve probably heard of MbUnit and if you’ve been following MbUnit development, then you’ll have at least heard a rumor that with version 3 they were working on a new test-runner, and now it’s finally starting to show up.

Get Gallio It’s open source (under the Apache License), and Gallio is now in Alpha, with support for running MbUnit tests, but also NUnit, xUnit.net and NBehave … and includes integration and tool support which is unparalleled: integration with CCNet and NAnt, MSBuild and the new Microsoft Research testing tool Pex and … well, lots of other tools you can read about on their website … my point is that it has PowerShell integration!

Although Gallio includes it’s own command-line runner called Echo, and a very nice GUI called Icarus, they’ve also included a PowerShell cmdlet test-runner which supports more options that you can shake a stick at (see source code here), including allowing you to choose LocalAppDomain, IsolatedAppDomain, or IsolatedProcess test runners, etc.


Run-Gallio SomeAssembly.dll -ReportDirectory C:\build\reports -ReportTypes html -ShowReports

That’s all I’ve got for now … this is only the second alpha release, but feel free to check it out anyway, the test model is complete, and it’s actually running tests without major issues. :)

One Comment

  1. Jeffrey Snover wrote:

    Cool stuff!
    RE: Run
    The standard PS verb would be either Invoke or Start.

    Jeffrey Snover [MSFT]
    Windows Management Partner Architect
    Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
    Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

    Wednesday, March 26, 2008 at 8:09 am | Permalink