mbunit Questions

31

Solved

Is there a way to get the path for the assembly in which the current code resides? I do not want the path of the calling assembly, just the one containing the code. Basically my unit test needs t...
Logography asked 9/9, 2008 at 20:12

4

Solved

I've created some MbUnit Test Fixtures that have SetUp methods marked with the SetUp attribute. These methods run before the tests just fine using the MbUnit GUI, the console runner, and the ReShar...
Daria asked 6/8, 2008 at 21:6

7

Solved

I've installed ReSharper 4.1 and Gallio 3.0.5, but I don't get the gutter icons for unit tests. The tests seem to run fine in the Test Explorer, but I don't have icons next to the tests in code. Wh...
Aubreir asked 16/1, 2009 at 8:36

1

I tried asking this on the gallio-users list, but the question failed to appear (Google Groups says the post was successful). I suppose the list might be moderated by someone who does not read his ...
Vilhelmina asked 7/12, 2011 at 16:30

6

I do not want to disable the warnings completely, just when it's in an Assert statement. So for example if I have the following two lines var someObject = GetObject(); Assert.IsNotNull(someObject...
Knotting asked 23/3, 2012 at 15:22

4

Solved

is there a MsTest Equivalent of Assert.Warning in MbUnit ?
Maxon asked 2/9, 2009 at 19:50

2

Solved

I'm migrating from MbUnit to xUnit, and I'm trying to locate the equivalent attributes (or approach) to MbUnit's [CombinatorialJoin] and [Column]. For example, when testing common behavior of a f...
Ionogen asked 10/9, 2014 at 14:30

1

Solved

I have some old MbUnit code which looks like this: public class MyFixture { [SetUp] public void SetUp() { // Add data to database } [Test, Rollback] public void DoTest() { // Tests with t...
Holter asked 10/7, 2015 at 13:52

4

Solved

I read that MbUnit is NUnit on steroids, but I don't see why. From what I have read on here, I hear that NUnit is more popular over MbUnit. One of the main reasons is because it has a fluent interf...
Colombi asked 9/9, 2010 at 16:58

3

Solved

If I install Gallio 3.x will it also install a test runner plugin for Visual Studio? Or must I use an additional plug-in like TestDriven.NET or Visual Nunit to run MbUnit test classes from within ...
Sextodecimo asked 14/4, 2010 at 3:20

2

Solved

I'm trying to programmatically check my unit tests are passing as part of my deployment process. The application uses MBunit and Gallio for it's unit testing framework. Here's my code: var setup ...
Sabbath asked 10/1, 2014 at 12:18

1

Solved

Is it possible to use NUnit's [TestCaseSource] attribute with more than one arguments? Here's my code (which is being migrated from MbUnit): public IEnumerable<object[]> GetTestSwitchMultiIt...
Prophet asked 20/10, 2014 at 18:29

3

I thought I understood how MbUnit's parallel test execution worked, but the behaviour I'm seeing differs sufficiently much from my expectation that I suspect I'm missing something! I have a set of...
Heliotrope asked 3/6, 2010 at 13:13

2

Solved

Silverlight Unit Test Framework has an [Asynchronous] attribute (AsynchronousAttribute) that causes the tests to only end when EnqueueTestComplete() gets called. This allows for a simple way to wri...
Chaim asked 1/1, 2012 at 1:21

3

Solved

I am trying to figure out how I can hit breakpoints in my unit tests that are written with MbUnit/Gallio. I tried running Gallio.Icarus, attaching vs debugger to it, the breakpoints weren't hit. Ne...
Kephart asked 5/5, 2009 at 15:25

1

Solved

I think I'm missing something here. I installed Tesdriven and then Gallio (third link from top - Gallio 3.5 x64 installer) Then I installed the mbunit dlls from Nuget because I didn't want to incl...
Neuroma asked 1/10, 2012 at 10:47

7

Solved

There are quite a lot of unittesting frameworks out there for .NET. I found this little feature comparison: http://xunit.github.io/docs/comparisons.html Now I am to choose the best one for us...
Inverse asked 4/11, 2008 at 7:20

1

On stackoverflow I've come across mbunit. On its page it states that mbunit is a generative unit test framework, but I can't find anywhere that describes what a Generative unit test framework is. ...
Trula asked 18/2, 2009 at 21:7

5

I have read umpteen answers on SO while searching for NUnit + dependent methods + order of test execution. Every single answer suggests that forcing any set of order for unit tests is extremely evi...
Helicon asked 17/4, 2011 at 13:15

2

Solved

Unfortunately Resharper has a long history of breaking MBUnit support with every new release. I noticed version 6.1 has been released, but I can't use it until it works properly with MBUnit. So, ...
Intercept asked 29/12, 2011 at 15:22

1

C# Unit Testing: How to integrate NUNIT/MBUNIT with Microsoft PEX(Parameterized unit testing). After I have seen few videos of Microsoft PEX, wondering whether I can able to add PEX testing in my ...
Keeshakeeshond asked 21/10, 2011 at 2:2

1

Solved

I am currently building a test suite using mbunit. So far so good, but instead of using the included Icarus GUI, I want to have my own test runner. Not knowing much about what to do, I go on Gallio...
Somali asked 17/8, 2011 at 20:33

1

I'm trying to test a multi-threaded IO class using MbUnit. My goal is to have the test fixture constructor execute 3 times, once for each row on the class. Then, for each instance, execute the test...
Calie asked 11/4, 2011 at 23:29

1

Solved

In MbUnit one can do something like this: [Test] [TestCategory("Bad Arguments")] [TestCategory("Fast")] [ExpectedException(typeof(ArgumentNullException))] public void TestCopyWithBadHref() { . . ...
Hardworking asked 24/11, 2010 at 18:54

5

Solved

I'm using Resharper 4.5 with Visual Studio 2008 and MBUnit testing, and there seems to be something odd with using ReSharpher to run the tests. On the side there are the icons beside the class eac...
Dissimulation asked 10/7, 2009 at 16:15

© 2022 - 2024 — McMap. All rights reserved.