TestDriven.NET is not running my SetUp methods for MbUnit
Asked Answered
D

4

21

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 ReSharper MbUnit plugin. However, when I run the tests with TestDriven.NET it does not run the SetUp methods at all.

Does anyone know if this is a bug with TestDriven.NET or if I have something setup wrong?

Daria answered 6/8, 2008 at 21:6 Comment(0)
A
5

No longer an issue with recent versions of Gallio since v3.0.4. Just make sure to use the 64-bit installer.

Aircool answered 6/1, 2009 at 23:25 Comment(1)
Yep. I'm using that now, and I've been happy.Daria
D
2

After having this problem for weeks on Vista 64, I found a post by Dave Bouwman just today, and it fixed this problem.

Daria answered 6/8, 2008 at 22:56 Comment(1)
Link is broken now. 404 File not found.Ternan
H
1

I had this exact same issue after installing NUnit using nuget ... previously I had been using an older version of NUnit and everything had worked fine.

I think TestDriven is not compatible with the latest version of NUnit.

I've switched to using NCrunch, which is free, and compiles/runs tests in the backgound as you are coding, amongst other things. Highly recommended.

Ha answered 19/4, 2012 at 9:26 Comment(0)
T
0

I came across a similar issue with NUnit and TestDriven.NET that took me hours to figure out. I installed the Visual Studio Extension below and it hit breakpoint in the Tests but skipped the one in the one in the [TestFixtureSetUp].

enter image description here

It turned out that I also needed the actual TestDriven.NET software to be installed at C:\Program Files (x86)\TestDriven.NET 4

This is available from https://www.testdriven.net/download.aspx

Ternan answered 18/6, 2020 at 11:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.