Questions tagged [gallio]

Gallio is an Automation Platform for .NET

From their website:

The Gallio Automation Platform is an open, extensible, and neutral system for .NET that provides a common object model, runtime services and tools (such as test runners) that may be leveraged by any number of test frameworks.

The Gallio platform seeks to facilitate the creation of a rich ecosystem of interoperable testing tools produced by and for the community at large so as to address a far wider range of testing needs than any previous independent testing framework has done before. Unit tests, integration tests, performance tests, and even semi-automated test harnesses should all be able to leverage common facilities where appropriate. Moreover, they should present consistent interfaces to the world so that they can easily be integrated into the systems and processes of the enterprise.

196 questions
3
votes
1 answer

(sonar with gallio and) opencover, code coverage: 0%

I'm working with sonar having Gallio using OpenCover, it gives me a code coverage of 0% although there are test classes and my machine takes about 15 seconds to try to run the tests (at least it seems like that), after which they're summed up with…
user1829860
  • 111
  • 1
  • 10
3
votes
1 answer

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

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…
user154366
  • 581
  • 2
  • 5
  • 19
2
votes
1 answer

Write result to test report in MbUnit with Gallio

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 =…
Simon Söderman
  • 335
  • 1
  • 7
2
votes
3 answers

Team City - Add Gallio test result xml to build display

Im using TeamCity with Gallio/XUnit/Specflow and trying to display our unit/acceptance test results. I believe the output is NUnit xml test result format. Our unit tests auotmatically display using the command runner with Gallio. The acceptance…
Chris McKelt
  • 1,378
  • 2
  • 17
  • 38
2
votes
2 answers

Gallio Keeps Running .net 2.0 Runtime After I've switched Test To 4.0

I have a set of tests that was initially built for .net 2.0. We use Gallio with MBunit to run them from the console using Gallio.Echo. Gallio insists on running the 2.0 CLR and then breaks when it sees that the test was built for .net 4.0. What am I…
mmurch
  • 498
  • 5
  • 14
2
votes
1 answer

Anyone know what does mb stand for in the mbunit?

Just a little bit curious, what does "MB" mean in "MBUnit"?
user705414
  • 20,472
  • 39
  • 112
  • 155
2
votes
1 answer

Unit test for private Func delegate method using MBUnit's Mirror

I would like to test the following class Private Func<> delegate method using MB Units Mirror.ForObject(). However it is not reflecting the method. Could any please provide a way to do this? Functionality Code class public class AccountTransaction …
manu
  • 1,807
  • 4
  • 25
  • 32
2
votes
3 answers

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…
antik
  • 5,282
  • 1
  • 34
  • 47
2
votes
1 answer

Running NUnit tests with Gallio

I'm trying to write some NUnit tests for a project. I add a new Class Library to the solution. Is this the correct project type? I added a reference: using NunitFramework; and added my tests. I have Gallio installed, but I'm unsure about whether…
AnonyMouse
  • 18,108
  • 26
  • 79
  • 131
2
votes
3 answers

.NET unit test runner outputting FaultException.Detail

I am running some unit tests on a WCF service. The service is configured to include exception details in the fault response (with the following in my service configuration file). If a test…
Adam
  • 952
  • 1
  • 7
  • 11
2
votes
4 answers

Skip unit test if csv file not found

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…
Longball27
  • 676
  • 1
  • 8
  • 29
2
votes
1 answer

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) { …
2
votes
4 answers

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…
Calum
2
votes
1 answer

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…
Allrameest
  • 4,364
  • 2
  • 34
  • 50
2
votes
2 answers

Can not run MBUnit unit tests, there is no run button/menu

I have installed MBUnit and Gallio via nuget package, but there is no context menu or button where I can say run tests etc... Do I still have to install something?
Elisabeth
  • 20,496
  • 52
  • 200
  • 321