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
0
votes
2 answers

MBUnit test matrix optimization-performace problems in automated ui tests

We're currently using MBUnit for both unit testing and UI testing. For UI testing setup cost for test matrix axes are pretty high (login, browser instance, navigate to page etc). In order to avoid setting up these for each test case we are partly…
Sedat Kapanoglu
  • 46,641
  • 25
  • 114
  • 148
0
votes
1 answer

Run a single unit test from a fixture of many in MbUnit

Is there anyway to add an attribute to a [Test] method in a [TestFixture] so that only that method runs? This would be similar to the way the [CurrentFixture] attribute can be used to only run a single fixture. I ask as sometimes when I test the…
LaserJesus
  • 8,230
  • 7
  • 47
  • 65
0
votes
2 answers

MbUnit - test dependecy when tests are in different assemblies doesn't work when using DependsOn Attribute

I have this weird problem with DependsOn attribute. I have a test A defined in Assembly ASSM_A and test B defined in ASSM_B (both are test fixtures). When I define a dependency of test B on test A: [TestFixture] [DependOn(ASSM_A_NAMESPACE.A)] public…
Il'ya
  • 1
  • 1
0
votes
2 answers

WCF Want to Implement Client progress update

I have a duplex WCF service that clients connect to and wait for commands. The structure of the application is as below. GUI(Asp.net)------------>WCF Service------------------>WCF Client The from Asp.net pages you can run Gallio/MB Unit Tests. Those…
Abdul Waheed
  • 136
  • 1
  • 6
0
votes
1 answer

CannotUnloadAppDomain Mbunit and CCNET

Our CCNET build system has been running just fine since we set it up. Recently we moved to another room and changed one IP address on our system and we are getting CannotUnloadAppDomainException from MbUnit which is run from NCover. I have checked…
Jesus Ramos
  • 22,940
  • 10
  • 58
  • 88
0
votes
1 answer

How to set test file path for MbUnit tests with Gallio via NAnt?

Please excuse the ambiguous title; it's difficult to describe in a single line. Basically we have MbUnit tests which run fine using TestDriven from within Visual Studio, but fails when attempting to run the tests via the task from within…
andrewf
  • 1,350
  • 1
  • 13
  • 19
0
votes
1 answer

Trouble running mbUnit 2 tests in SubSonic 2.1

I'm still using Subsonic 2 for a few of my projects. Wanting to hack it a little. I've got the latest pull from the GIT repo, I'm using VS2008 Pro. Looking in the SubSonic.Test project, the mbUnit dll referenced has a description of…
Ben McIntyre
  • 1,972
  • 17
  • 28
0
votes
1 answer

MbUnit Assert.AreEqual DateTime and Decimal are not equals

I have a class structure like this public class Entity { public int Id { get; set; } public string Label { get; set; } public string Description { get; set; } public DateTime CreatedAt { get; set; } public DateTime ModifiedAt {…
msi
  • 3,202
  • 4
  • 27
  • 37
0
votes
1 answer

MbUnit.framework.dll Parallelizable attribute

the reference in my project was intially MbUnit.dll this was fine and allowed me to use [Parallelizable] attribute, but to use [ForEachTest()], [DataFixture()] and [XmlDataProvider()] i need to use MbUnit.Framework.dll instead, however adding this…
AdamWhite
  • 1,044
  • 2
  • 10
  • 10
0
votes
1 answer

Mbunit tests are not loaded

I am using Mbunit, and I have written the tests in Mbunit. However, when I am trying to run the tests, it gives me an error: No tests were run because the tests are not loaded or disabled.
pinki
  • 1,388
  • 5
  • 24
  • 36
0
votes
1 answer

Mbunit v2.4 running on Gallio inside NAnt: "The test assembly setup failed"

Dear all, I'm trying to run the tests I developed with MbUnit v2 under Gallio. All from inside a NAnt script that is started via TeamCity (actually the CodeBetter installation of TeamCity). The tests run on my local machine inside the GUI Gallio…
CodeClimber
  • 4,109
  • 4
  • 32
  • 44
0
votes
1 answer

Gallio test results showing in Output tab of Visual Studio?

Does anyone know how to have the test results of a Gallio test run (I'm using MbUnit, fwiw), show in the Output tab of Visual Studio? Right now it's opening a new window and showing the results there. Thanks fellas, -Steve
StephenPAdams
  • 2,797
  • 2
  • 30
  • 49
0
votes
1 answer

Could not attach debugger to host using Gallio Icarus 3.2 Build 517 and VS 2010

I installed the Gallio bundle Version 3.2 Build 517 in order to use MBUnit. My tests are running fine when I try run them through the Icarus test runner, but when I hit the debug button on the test runner, it tells me it could not attach to the…
Xaisoft
  • 45,655
  • 87
  • 279
  • 432
0
votes
1 answer

element not visible Target invocation exception

I am trying to automate login on DropBox https://www.dropbox.com/chooser ,but still facing issues with element not visible, which is weird, even though if the all page is loaded successfully. Here is the code for filling the password: protected…
Michal
  • 610
  • 10
  • 24
0
votes
2 answers

Unit testing of WCF webservice with Gallio/MbUnit

I have a WCF service with a simple Gallio unit test that calls the service. However, I am confused by the framework's behavior. When I start visual studio for the first time, and try to run the unit test, I get the following…
laconicdev
  • 6,360
  • 11
  • 63
  • 89