gallio

Visual Studio .NET - MbUnit tests using Gallio Integration - issues with multiple asserts

I am using gallio to integrate mbunit's test runner with the mstest test runner in visual studio. it works VERY well - except when I am running a test with multiple assert statements. The test will either pass or fail based on the FIRST assert statement. I know a lot of people are against multiple asserts, but they are unavoidable in cas...

How to get Gallio and NCover 1.5.8.2 to work on the command line?

Hello, I have seen some examples that use gallio such as this: Gallio.Echo.exe Widget.Tests.dll /runner:NCover /runner-property:NCoverCoverageFile='C:\Temp\WidgetCoverage.xml' /runner-property:NCoverArguments='//eas .*.Tests;Gallio;MbUnit;OtherIgnoredAssembly' When I run this, it gives me an error stating that the '//eas .*.Tests;Gall...

Getting Console output to display from Gallio & xunit.net

Previously when executing unit tests with xunit.net / testdriven.net I could see output written to the console (via Console.WriteLine) displayed in the output window. I'm now using the Gallio TestDriven.Net runner to execute xunit.net tests (Gallio TestDriven.Net Runner - Version 3.0.6 build 787) - and I'm finding it no longer captures ...

Gallio Integration with NANT and CruiseControl.NET

In our build process we're currently using MBUnit 2.x tests, called from an NAnt task, called from CruiseControl.NET. I've uprgaded to Gallio and MBUnit 3.x locally and am able to run tests from VS2008. I'm having trouble getting our build process upgraded. It looks like we have two options, either run the tests from CruiseControl.net...

Gallio Icarus vs. Testdriven.net

What are the differences between using a VS integrated tool like Testdriven.net or using a GUI test runner like Icarus or NUnit GUI? What do you prefer and why? So far i've found that reports are better in Icarus than in td.net, which only features a commandline output. However td.net is faster to use, i can execute single tests more e...

Hudson job with Gallio tests reports "No tests"

I am using Hudson as a CI server to build a few different .Net 3.5 projects. The actual build stuff works great. However, I run MbUnit v2 tests using Gallio.Echo as part of the build, and while the tests seem to run fine, Hudson claims that there were no tests run. I have the following build step right after the "Build a Visual Studio ...

TeamCity MSBuild Gallio NCover Reporting

Hi All, I'm a complete build system newbie through and through. I've been playing with this for about two weeks on and off now and I just can't crack it, I think I've reached a point where I need a fresh pair of eyes. Ultimately I'm aiming for having a new NCover coverage report (the summary one at least) in my TeamCity build project....

Using MBUnit to test values against a database

I need to test a class who's return value depends on values from a database. I could just hit the database in the unit test but those values could change. Is there a standard solution to this? ...

Can a Gallio/MbUnit Test be Ran without Installing Gallio?

Hi all, I've installed TestDriven.Net in Visual Studio 2008 and when I run a mbunit test from TD.Net I get this message: It looks like you're trying to execute a Gallio/MbUnit unit test. For Gallio v3.0.6 build 787 / Gallio v3.1 build 313 or above (recommended): Please ensure that the directory containing your 'MbUnit.dll' re...

Gallio and MbUnit in NAnt

I am trying to use Gallio (v3.1)/MbUnit/NCover to run a unit test in my C# code, as part of the build process for my continuous integration system. I can get Gallio.Echo.exe to execute the tests and output an XML file (albeit it does seem to be checking all .dll files in the folder == approx. 6.5MB .xml file!!), but when I try to get NC...

Can ReSharper 5.0 beta run tests with Gallio in VS2008?

When setting up a new machine yesterday I: Installed VS2008 without test support (I'd rather use Gallio and ReSharper if I need to use MSTest) Installed ReSharper 5.0 beta Installed Gallio 3.1 update 2 ReSharper doesn't see any of my MbUnit tests - there are no unit test markers in the margin and running all tests doesn't work. Shoul...

Reporting failed task in CruiseControl.NET

I am setting up a build system and would like to display which task failed the build in the "Project Report" section in the dashboard and in the build failure email. At the moment I have three tasks: SourceControl Msbuild Unit tests (using gallio.echo from CC.Net exec task) If either of the latter two fail it's not obvious from the ...

How do I get Gallio.echo to run MbUnit Tests?

I have MbUnit tests that run if I load them into MbUnit.GUI.exe, however when I try to execute them from the Gallio.echo command-line tool I get 0 test available. I then loaded the assemblies into the Gallio GUI and the tests do not show. I am missing something with the Gallio set-up and the documentation is lacking to put it mildly. ...

How to get MSTest to work with Gallio/MBUnit?

How to get MSTest to work with Gallio/MBUnit? I am trying to get TeamCity to work with Gallio/MBUnit and also some legacy MSTest unit tests. The MSTest section fails with a "Exception has been thrown by the target of an invocation" error message. Problem seen with GallioBundle-3.1.397.0-Setup-x64.msi. ...

Getting Partcover and Gallio to work on the command line error, report is Empty?

Hello, I have gotten PartCover 2.3 and Gallio 3.1 to work through the Partcover coverage browser. When I try rerunning the command on the command line I am getting a CorProfiler is turned off, and then the report is empty? I am running from Admin shell. I also had read the following article. It says to use the /r:Local, I had to /r:Isola...

Using Gallio/Mbunit with TFS 2010 Team Build

How do you configure a Team Build 2010 build process template to run MbUnit tests via Gallio? ...

MbUnit (gallio) and Visual Studio.Net Tests Not Completing or Debugging

Hi I'm using Gallio\MbUnit 3.1 with ReSharper and Visual Studio 2008. Everything is working well except this type of test: [Test] [Row("test@badEmail@_test.com")] [Row("test@badEmail@_test.")] public void IsValidEmail_Invalid_Emails_Should_Return_False(string invalidEmail) { Assert....

Is it possible to run NUnit 2.5.3 tests in Gallio?

When I try to run NUnit tests in Gallio I get this: Detected a probable test framework assembly version mismatch. Referenced test frameworks: 'nunit.framework, Version=2.5.3.9345, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77'. Supported test frameworks: 'nunit.framework, Version=2.5.0.0-2.5.2.65535', 'nunit.framework, Version...

Use MSpec with MBUnit?

Hi, Does anyone know if it's possible to use MSpec with MBUnit instead of NUnit? Gallio seems to ignore all my tests when using MSpec? ...

Gallio TestDriven.Net testing problem

Hello , I have a tdd system , where I use Gallio 3.1 with TestDriven.Net . I've downloaded the patches for them. 1) I'm getting this stack and the test wouldn't stop - SRCSRV: cmd /c svn.exe cat "http://mb-unit.googlecode.com/svn/branches/v3.1/src/Gallio/Gallio/Framework/Pattern/PatternTestInstanceState.cs@2360" --non-interactive > "C...