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
1
vote
1 answer

Timeout while Internet Explorer busy error when Browser.AttachTo

I have a number of tests that seem to be randomly failing due to a Timeout while Internet Explorer busy error. WatiN.Core.Exceptions.TimeoutException: Timeout while Internet Explorer busy They errors seem to be only caused on lines with code…
Ben
  • 2,518
  • 4
  • 18
  • 31
1
vote
1 answer

How using MbUnit can I set a StaticTestFactory to be parallelized?

I have a large number of test set-up through a StaticTestFactory, but when I put any form of paralleization on it then it doesn't seem to effect it. Any ideas?
Tangopop
  • 117
  • 8
1
vote
1 answer

Getting "element timed out after 60 seconds" exception in MBUnit framework

I am using selenium(C#) MBUnit framework. I have put Thread.Sleep(60000) statement in my test. While executing above statement using Gallio Icarus, I am getting below exception. element timed out after 60 seconds. ---> System.Net.WebException: The…
1
vote
1 answer

Auto Re-Running of Tests that fail

I have a set of Selenium/MbUnit Tests that work fine, but tend to take a while to run (over 4 hours) A problem i am finding is that about 1 in 20 test seems to timeout when running. I have confirmed the Selenium GRID is working and the Selenium RC's…
Tangopop
  • 117
  • 8
1
vote
1 answer

nunit/mbunit parameterized SetUp

I'd like to provide parameterized data for the setup of a test. Something like this: [TestCase("1", "2") [TestCase("a", "b") public class TestFixture { [SetUp] public void SetUp(string x, string y) { Console.WriteLine("Setup with…
Jon Lauridsen
  • 2,521
  • 5
  • 31
  • 38
1
vote
1 answer

Selenium Grid not always using all of its registered RC's, why?

My Selenium Grid setup is as follows (all VMs) VM1 - Windows 7 x64 Windows XP x32 - Grid Hub + 2 RCs registering the default *firefox environment VM2 - Windows XP x32 - 2 RCs registering the default *firefox environment VM3 - Windows XP x32 - 2 RCs…
BenA
  • 2,041
  • 1
  • 20
  • 25
1
vote
2 answers

Compare 2 lists in MbUnit 3.1

I am trying to compare 2 Dictionary objects for equality in MbUnit 3.1 like so Assert.AreEqual(expectedOutputFieldList, actualOutputFieldList); Where FieldList is = Dictionary However this throws up the following…
Longball27
  • 676
  • 1
  • 8
  • 29
1
vote
1 answer

NUnit's closest equivalent of MbUnit's [DynamicTestFactory] for dynamic tests

I'm looking for NUnit's closest equivalent to MbUnit's [DynamicTestFactory] so I can create dynamtic tests on runtime. Is there an equivalent in NUnit? Thank you.
evg02gsa3
  • 571
  • 5
  • 17
1
vote
1 answer

Looking for NUnit's equivalent of MbUnit's [AssemblyFixture]

I'm looking for the closest equivalent of using MbUnit's [AssemblyFixture] attribute in NUnit. I want my unit tests to run some setup only once (in total) before all fixtures of the namespace and to run some kind of cleanup once (in total) after all…
evg02gsa3
  • 571
  • 5
  • 17
1
vote
3 answers

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

Gallio TestDriven.Net testing problem

I have a tdd system , where I use Gallio 3.1 with TestDriven.Net . I've downloaded the patches for them. 1) I'm getting this stack and the test wouldn't stop - SRCSRV: cmd /c svn.exe cat…
Tzvi Gregory Kaidanov
  • 3,080
  • 3
  • 26
  • 33
1
vote
1 answer

MbUnit (gallio) and Visual Studio.Net Tests Not Completing or Debugging

I'm using Gallio\MbUnit 3.1 with ReSharper and Visual Studio 2008. Everything is working well except this type of test: [Test] [Row("test@badEmail@_test.com")] [Row("test@badEmail@_test.")] public void…
Davy
1
vote
1 answer

How can I reach and retrieve information from TestLog in Gallio into my test runner using C#?

I am writing a test runner with an UI for our testing framework using C#, Gallio and MbUnit and it appears that I am stuck. I managed to run tests programmatically by selecting from a list view and also managed to get the result from the test in a…
Milan4e
  • 33
  • 4
1
vote
4 answers

NAnt, MbUnit, CruiseControl, Selenium - passing settings to the test assembly

I am putting together some ideas for our automated testing platform and have been looking at Selenium for the test runner. I am wrapping the recorded Selenium C# scripts in an MbUnit test, which is being triggered via the MbUnit NAnt task. The…
Tim Peel
  • 2,274
  • 5
  • 27
  • 43
1
vote
3 answers

How to get MSTest to work with Gallio/MBUnit?

How to get MSTest to work with Gallio/MBUnit? I am trying to get TeamCity to work with Gallio/MBUnit and also some legacy MSTest unit tests. The MSTest section fails with a "Exception has been thrown by the target of an invocation" error…
Thomas Bratt
  • 48,038
  • 36
  • 121
  • 139