gallio

Users of Gallio, what Advantages and Disadvantages have you experienced using this Tool?

For those of you familiar with Gallio, what Advantages and Disadvantages have you experienced using this tool, a so-called Test Automation Platform? ...

Using Resharper Unit Test Runner for MSTest via Gallio

I am attempting to get the Resharper test runner to recognize my MSTest unit tests via Gallio. I have the following installed: VSTS 2005 8.0.50727.762 Resharper 4.1 Gallio 3.0.0.285 I am also running Windows XP x64. The unit test options only shows NUnit as being available. I am thinking that I must have some versioning wrong. Can som...

How does MbUnit work with VS 2008

I set up MbUnit and have been trying to get it to work with VS 2008 using the MbUnit GUI but every time I run a test it closes and I get a this program needs to close error. I had a similar problem with Gallio where I got a runner exception every time I ran a test. Do I need an addin for VS like testDriven.Net to get this to work? ...

Is there a test runner for .NET tests that can run multi-threaded to take advantage of multi-core machines?

I'm setting up CI at present using Thoughtworks Studios' Cruise, Gallio to run xunit.net fact/tests, and ncover 2 to do code-coverage. I noticed that running the code-coverage pegs one of the four CPUs that our build-agent server has, and wondered whether there was a multi-threaded test-runner that I might use instead, to take advantage...

Using ReSharper Test Runner to run MSTest Unit Tests

I need to use the ReSharper Unit Test Runner to run my MSTest Unit Tests on VS 2008. I have heard of using "Gallio" to do this but I don't know what Gallio is (it seemed like some all purpose VS extensibility framework). Does anyone know the best way to run MSTest Unit Tests using ReSharper Test Runner? ...

TestDriven.net with Gallio, MbUnit and NCover problems

Hi, Why doesnt TestDriven.Net work with my gallio/mbunit tests? I've used TDD.Net with MbUnit v2 and not had any problems, but with the new gallio release on my new pc, it does nothing. From the tdd right click menu in solution explorer, if i do "test with debugger" i get "0 passed, 0 failed, 0 skipped" in the VS status bar at the bot...

What dlls from Gallio do I need to include for TeamCity to run the tests

I'm using Gallio and MbUnit 3, and I have Team City 4 installed. I just put the whole bin directory of Gallio into Subversion since I didn't know what dlls I needed. Do you know which ones I need to keep, and what I don't need to put into SCM? Thanks. ...

Using MbUnit3's [Rollback] for unit testing NHibernate interactions with SQLite

Background: My team is dedicated to ensuring that straight from checkout, our code compiles and unit tests run successfully. To facilitate this and test some of our NHibernate mappings, we've added a SQLite DB to our repository which is a mirror of our production SQL Server 2005 database. We're using the latest versions of: MbUnit3 (p...

MbUnit: The most elegant way to compare doubles?

The code Assert.AreEqual (9.97320998018748d, observerPosition.CenterLongitude); produces Expected Value & Actual Value : 9.97320998018748 Remark : Both values look the same when formatted but they are distinct instances. What is the most elegant way to compare two doubles for equality in MbUnit 3.0? I know I could round them up my...

How do you get Cruise Control to Email the unit test results from Gallio(MbUnit)?

I have a build server that uses Cruise Control to run our test cases. I have successfully configured ccnet 1.4.2 to display the Gallio test results in the webdashboard but I can't seem to get ccservice to email the Gallio test results out in the auto generated Emails. I have tried editing the .xsl file but to no avail. I am merging th...

How do I get the Gallio MSBuild task to find my specific Gallio executables

I am trying to get Gallio to be called from MSBuild in a TeamCity build configuration. The Agent/Server for TeamCity does not have Gallio installed but I do have a distribution of Gallio in my source tree. I am using MSBuild to do the actual build of the project. How can I tell the Gallio task to use the Gallio executables that are i...

VS08 TFS unit tests vs Gallio/MbUnit

I am looking into adding unit tests at work. I used MbUnit in the past, and have some sample UT's in Gallio framework. We are using VS08 which comes with its own testing suite. What are pros and cons of using VS08 TFS UT vs Gallio? What is the general recommendation on which framework to use? Thanks! ...

How to debug mbunit/Gallio unit tests in visual studio

I am trying to figure out how I can hit breakpoints in my unit tests that are written with MbUnit/Gallio. I tried running Gallio.Icarus, attaching vs debugger to it, the breakpoints weren't hit. Next I tried to start Gallio.Echo from project properties, but I was getting an error message, after supplying the dll, saying only .exe's can b...

Edit and continue with TestDriven .NET and Gallio

I have VS08sp1, Gallio 3.0.6.763 and TestDriven.NET 2.14. I use MBUnit framework for unit tests. When using TestDriven's Test With > Debugger, I am able to step into the code. However, I am unable to "Edit and Continue", despite this option being turned on in VS options. I get the following error message: changes are not allowed when...

Write result to test report in MbUnit with Gallio

Hi, Does anybody know if it´s possible to write results to some tracelistener or something that the test-report snaps up and embeds into the test report? for example, var loans = GetLoans(...parameters); Assert.IsTrue(Loans.Length>0); TestReport.Write("user has :" +loans.Count); and then have it show up in the test report! Any ideas? ...

FixtureSetup on MbUnit / Gallio doesn't run

I don't understand this problem. First I had MBUnit v2 referenced and everything worked perfectly. Then I installed and referenced MBunit v3... Which seems to be MbUnit.dll and Gallio.dll in the Gallio install bin-folder. And when I compiled I got some warnings on TestFixtureSetup, so I changed those to FixtureSetup. But now they don't g...

mbunit v2 vs v3 xml report files

Our test source tree currently contains c# projects that either contain mbunit v2 tests or v3 tests (the newest projects). Our old v2 test projects were exes that used the "autorunner" to generate XML reports. Since the new projects are using Gallio which does not have the autorunner, we use gallio.echo.exe to generate the appropriate xm...

Why do we see a ModuleLoadExceptionHandlerException when unit testing

We have a mixed mode assembly that contains both VC++ (using MFC) and C++/CLI classes. It is an MFC Extension dll and is loaded into our MFC executable at runtime and all works well. When we come to unit test the unmanaged classes in there from another C++/CLI assembly, we see the following exception everytime we try to create an instan...

how do i get teamcity to pick up my nunit tests run from rake?

when i run this: sh "#{MBUNIT_PATH}Gallio.Echo.exe /no-echo-results src/#{dll}/bin/Debug/#{dll}.dll" in my rakefile, gallio runs my mbunit tests, and TC picks up the results :D but this: sh "#{NUNIT_PATH}nunit-console.exe /nologo src/#{dll}/bin/Debug/#{dll}.dll" does run my tests, but TC doesnt pick up the result :( I first tried...

How do I ignore a test conditionally in mbUnit?

I'm using TeamCity to do automated builds of test and production. TeamCity runs our mbUnit 3.1 tests at the end of the process with Gallio. When running the test build, Gallio should try to execute tests against the test database server. However, when running a production build, these tests should not be run because TeamCity can't acce...