Questions tagged [mbunit]

MbUnit is a generative unit test framework for the .NET Framework.

MbUnit provides advanced unit testing support with advanced fixtures to enable developers and testers to test all aspects of their software.

There are two current versions of MbUnit, v2 and v3.

MbUnit v3 is the current version of the MbUnit Framework. It is based on the Gallio Test Automation Platform which provides a stunning array of interoperable test tools. MbUnit v3 has been rewritten from the ground up to provide a compelling suite of testing features, native support for .NET 2.0 and .NET 3.5, better documentation, and cross-platform compatibility with Mono.

MbUnit v2 is the older version of the MbUnit Framework. It is still actively maintained for the benefit of existing users.

248 questions
3
votes
3 answers

Documentation for mbunit v3

Any pointers for the documentation on the new features of mbunit v3?
Tulika
  • 360
  • 5
  • 16
3
votes
1 answer

MbUnit and Resharper integration not working in Visual Studio 2010

I set up a new machine this week. It is running Windows 7, 64 bit. I installed Visual Studio 2010 Professional, then Resharper 5.0, rapidly followed by Resharper 5.1 when it came out soon after. Since I have a project with tests in MbUnit, I have…
Anthony
  • 5,176
  • 6
  • 65
  • 87
3
votes
3 answers

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…
PilotBob
  • 3,107
  • 7
  • 35
  • 52
3
votes
4 answers

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 =…
Coppermill
  • 6,676
  • 14
  • 67
  • 92
3
votes
1 answer

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…
Bernard Larouche
  • 1,211
  • 2
  • 13
  • 22
3
votes
1 answer

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…
Brett Rigby
  • 6,101
  • 10
  • 46
  • 76
3
votes
1 answer

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?
Nick Dat Le
  • 369
  • 4
  • 12
3
votes
1 answer

Selenium Grid 2 - Parallelized datadriven tests

I am pretty new in this area, so apologies for the question. I am trying to run datadriven tests in parallel, using Selenium Grid2. Here is my setup of the test: [Test] [Parallelizable] [Row("nl-NL")] [Row("fr-BE")] public void…
3
votes
2 answers

How do you Test that a IEnumerable has all items of class SomeClass in MBunit?

How do you Test that a IEnumerable has all items of class SomeClass in MBunit? I've once used Visual Studio Unit Test Framework and found CollectionAssert.AllAreInstancesOfType or something to check that. But how do I do it in MBunit?
Abdulsattar Mohammed
  • 10,154
  • 13
  • 52
  • 66
3
votes
1 answer

Implementing NHibernate Unit Test to Generate Schema with VB.NET/MBUnit

I'm trying to implement unit tests for my NHibernate data access layer. The first test, which I drew from an example I found on the web (http://blogs.hibernatingrhinos.com/nhibernate/archive/2008/04/01/your-first-nhibernate-based-application.aspx),…
Todd Langdon
  • 385
  • 6
  • 11
3
votes
2 answers

Can I create a wrapper around NUnit, MbUnit, xUnit or other testing framework?

How can I create a wrapper around a testing framework? We still doesn't know which testing framework are going to use, but I need to start writing unit tests. With this question I want to know how can I switch from NUnit to mbUnit, xUnit or even…
rcarrillopadron
  • 459
  • 2
  • 6
  • 19
3
votes
1 answer

Mbunit and selenium

Can anyone tell me how get mbunit to run more than one test at a time without it setting up and tearing down after every test? Currently I'm using selenium for UI testing and need to run the tests consecutively do a login page. Thanks in…
ctb
  • 131
  • 3
  • 11
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
0 answers

Running parallel tests in separate AppDomains/Processes with MbUint

Is it possible to run tests in parallel with mbunit and AppDomain/Process level isolation?
Pawel Pabich
  • 2,404
  • 4
  • 22
  • 33
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