gallio

Cannot integrate Gallio MBUnit with Team City

I have been trying to get my MBUnit tests suite to work on Team City for many days now without any success. My solution builds no problem. The program is with my tests. After googling for Gallio integration with Team City I tried many ways to make this thing work and I think I am close but need help. I have included the gallio bin dire...

Gallio MbUnit and Team City problem

I asked a question this morning about an integration problem between Gallio and Team City. I changed the msbuild file to use the proper syntax with the latest Gallio build script API. Thank you for that Jeff Brown but now when I tried to build the application on Team City I get the following error : An unexpected error occurred during...

Debug using MbUnit/Gallio 3.1

When I use the [Debug] button in Gallio, the breakpoints in my unit tests are not hitting. The unit tests are written with MbUnit/Gallio. I am using MbUnit/Gallio version 3.1 build 397 with Visual Studio 2010 Beta 2. The unit tests run to completion in Gallio Icarus, but they run past the breakpoints. I see the symbol tables loading ...

Gallio test runner plugin to Visual Studio 2008 and 2010 for MBUnit tests

If I install Gallio 3.x will I should have test runner plugin for Visual Studio? Cause now I only use Gallio Icarus, but better is to have integration plugin... :( or I must use TestDriven.NET or Visual Nunit ?? ...

Gallio + SpecFlow + NUnit + Visual Studio 2008 periodically fails to detect new tests

So, I have really been enjoying the integrated experience of using Gallio to run SpecFlow tests natively in VS, using all my usual VS hotkeys and everything. It works wonderfully, most of the time. Periodically, however, and I have found no rhyme or reason to it, a new scenario added to the .feature file (for SpecFlow) does not case a ...

Tests run in Gallio / MbUnit fail; unable to load Castle DynamicProxy

I have a .NET 3.5 assembly covered by around 4000 MbUnit tests. I hve been running these using the mbunit.cons.exe program with no trouble. Now I am trying to switch to Gallio (mbunit.cons.exe started blowing up with an 'out of memory' exception when producing the XML report). When running the tests in Icarus, most of them fail with th...

Comparing two objects that are the same in MbUnit

From MBUnit I am trying to check if the values of two objects are the same using Assert.AreSame(RawDataRow, result); However I am getting the following fail: Expected Value & Actual Value : {RawDataRow: CentreID = "CentreID1", CentreLearnerRef = "CentreLearnerRef1", ContactID = 1, DOB = 2010-05-05T00:00:00.0000000, Email = "Email1",...

Compare 2 lists in MbUnit 3.1

Hi I am trying to compare 2 Dictionary objects for equality in MbUnit 3.1 like so Assert.AreEqual<FieldList>(expectedOutputFieldList, actualOutputFieldList); Where FieldList is = Dictionary<string, object> However this throws up the following "error": Both values look the same when formatted but they are distinct instances. Is the...

Step by step process for setting up Gallio and NbUnit within TeamCity

I have searched the internet and found a few references saying that Gallio and NbUnit can run within TeamCity as part of the build process. I am running my builds against the solutions files and need TeamCity to run all the test in the solution. Is there a step by step process for setting up Gallio and NbUnit within TeamCity anywhere? ...

Team City + Gallio runs tests, but results are not shown

We recently updated to Visual Studio 2010, and as part of our upgrade we started using Gallio 3.2 prerelease builds. Everything runs fine in Visual Studio (through resharper) but I'm having problems with TeamCity integration. The tests seem to run during TeamCity builds just fine (our build takes long enough to run all our tests), but th...

How do I see items embedded/attached to my Gallio test log in CruiseControl.NET?

I can use the following code to attach a log file to my Gallio 3.2 acceptance test report: TestLog.AttachPlainText("Attached log file", File.ReadAllText(path)); When I run my tests locally I can see the log file contents by viewing the report in my web browser. So, I want to be able to view the attachments in CCNET. I have my CCNET pr...

Gallio Icarus Debugging fails with Visual Web Developer 2010 Express

I'm getting the following error in the Runtime Log: Could not find Visual Studio version 'Any'. Host started at 01/06/2010 20:11:25. Running under CLR v4.0.30319 runtime. Attaching the debugger to the host. Could not find Visual Studio version 'Any'. Could not attach debugger to the host. I'm running 32bit windows. Anyone had this pr...

Run NUnit 2.5.5 tests in Gallio 3.1

Hi, I'm trying to get Gallio running some existing NUnit tests but they're not showing in Gallio. The assembly loads into Gallio fine and I can run them fine via Resharper within the VS IDE. I created a really simple NUnit test in VS and this also doesn't show so I know it's not something weird in my existing tests. Any ideas? ...

TestCase scripting framework

Hey guys, For our webapp testing environment we're currently using watin with a bunch of unit tests, and we're looking to move to selenium and use more frameworks. We're currently looking at Selenium2 + Gallio + Xunit.net, However one of the things we're really looking to get around is compiled testcases. Ideally we want testcases th...

nUnit rowtest extension skips my tests

When I use the NUnitExtension.RowTest.dll it ignores my tests in Resharper/VS2008 and Gallio Icarus. Does anyone have a config that works? [RowTest] [Row(5, 6, 11)] public void Should_Do_RowTest(int a, int b, int expected) { Assert.AreEqual(a+b, expected); } ...

What are the minimum binaries needed to run Gallio with MbUnit tests.

We recently upgraded our application to .Net 4.0. We were using MbUnit 2.x. With the upgrade to .Net 4.0 the MbUnit tests don't seem to run. Rather than fighting with it I decided to upgrade to MbUnit v3 which ships with Gallio test runners. I would like to put the minimum required binaries/files into a Nant folder in the third party fo...

Why does Gallio seem to need to be in a folder named GallioBundle-3.1.397.0/bin to run.

I want to run MbUnit tests with Icarus and/or Echo without having to install Gallio. I have copied all of the files in the GallioBundle/bin into a folder named Third Party/MbUnit in our project folder. When I double click on Gallio.Icarus.exe it dosesn't load or do anything. When I run gallio.echo.exe from the command line I get the ...

Using MbUnit with Delphi Prism

I have created below simple testcase in Delphi Prism. When I run the testcase using Gallio Icarus, it returns a This test is not supported by any available test framework. I can think of only two reasons why this might be happening I am missing something (really) obvious. A setting, a missing initialization somewhere, ... It is not po...

Skip unit test if csv file not found

Hi, I have a number of unit tests which rely on the presence of a csv file. They will throw an exception if this file doesn't exist obviously. Are there any Gallio/MbUnit methods which can conditionally skip a test from running? I'm running Gallio 3.1 and using the CsvData attribute [Test] [Timeout(1800)] [CsvData(FilePath = TestDataF...

issues trying to run GUI C# tests with Gallio.echo test runner remotely

I have a set of C# tests that start up and test a GUI. I user the Gallio.echo CLI to run these tests. Running on Windows server 2003 Hudson master is running on Ubuntu the 2003 box is a hudson slave I can run my tests with gallio.echo locally on my 2003 machine. However, I have a Hudson job that tries to run these tests and it fails, pr...