TestDriven.NET is a Visual Studio plugin which makes it easy to run unit tests from within the IDE.
Questions tagged [testdriven.net]
121 questions
65
votes
9 answers
Why is the xUnit Runner not finding my tests
I have a xUnit.net Test as follows:
static class MyTestClass
{
[Fact]
static void MyTestMethod()
{
}
}
The xUnit plugin for VS 2012 says:
No tests found to run.
TestDriven.net runs it fine but mentions something about Ad hoc:
1…

Ruben Bartelink
- 59,778
- 26
- 187
- 249
37
votes
1 answer
Why is NUnit hanging from the command line, but not under TestDriven.NET?
If I start my unit tests from TestDriven.NET under VS2008, they run pretty much immediately.
If I start my unit tests using nunit-console.exe, the NUnit console hangs for five minutes before actually running my tests. If I attach a debugger, it…

Garth Kidd
- 7,264
- 5
- 35
- 36
21
votes
4 answers
TestDriven.NET is not running my SetUp methods for MbUnit
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…

Lance Fisher
- 25,684
- 22
- 96
- 122
19
votes
2 answers
Force NCover 1.5.8 to use v4 framework like testdriven.net does?
I want to run coverage from the command line, but can't seem to get NCover 1.5.8 to instrument the code. It must be possible as when I run coverage tests with TestDriven.net it works. the difference seems to be that TD.NET is able to get NCover to…

Sam Holder
- 32,535
- 13
- 101
- 181
14
votes
2 answers
Running XUnit.net Tests with TestDriven.net
I've used NUnit for years and I wanted to try XUnit. So I installed XUnit and ran the executable that allowed you to run XUnit via TD.net.
I can't seem to run more than one test at a time. With NUnit + TD.net, I could click on the filename in the…

Eric Neunaber
- 431
- 3
- 10
13
votes
2 answers
How do I get TestDriven.net to generate a useful code coverage XML file with NCover?
Steps to Repro:
Make a C# project in VS 2010 Professional on Windows 7 Ultimate 32-bit edition.
Write some unit tests with the VS C# Unit Test wizard
Download and install the latest RTM or Beta version of TestDriven.Net.
Right-click on the testing…

Zian Choy
- 2,846
- 6
- 33
- 64
12
votes
5 answers
How do I specify test method parameters with TestDriven.NET?
I'm writing unit tests with NUnit and the TestDriven.NET plugin. I'd like to provide parameters to a test method like this :
[TestFixture]
public class MyTests
{
[Test]
public void TestLogin(string userName, string password)
{
//…

Thomas Levesque
- 286,951
- 70
- 623
- 758
10
votes
2 answers
Test Driven .NET won't use NUnit addins
I am experiencing a problem with running NUnit via the Test Driven .NET plugin with Visual Studio 2008. I have an addin that when I use the NUnit GUI, works just fine. However, the addin doesn't seem to work when run NUnit through TDD.NET. I've…

Delmania
- 812
- 10
- 20
9
votes
2 answers
Assert.DoesNotThrow with NUnit -- how to get stack trace?
I am using NUnit for unit testing (running with TD.NET).
When using Assert.DoesNotThrow, i get the exception, but without any stack trace, which makes it harder to identify root issue.
How can i tackle this?

lysergic-acid
- 19,570
- 21
- 109
- 218
9
votes
1 answer
After installing NUnit from NuGet, how do I force TestDriven.Net to use the NUnit dll referenced by NuGet?
I am trying to setup a Visual Studio solution that facilitates:
BDD
Using SpecFlow http://www.specflow.org/
As described on TekPub here: http://tekpub.com/view/concepts/5
I would like:
To keep all references and dependencies
under the root of my…

Kerry
- 341
- 2
- 11
9
votes
4 answers
Does TestDriven.NET work with VS Express?
Does TestDriven.NET work with VS Express?
EDIT:
Yeah, I just installed it and noticed that it wasn't working. It looks like a really cool program.

Alex Baranosky
- 48,865
- 44
- 102
- 150
9
votes
4 answers
TestDriven.net with Gallio, MbUnit and NCover problems
Why doesnt TestDriven.Net work with my gallio/mbunit tests?
I've used TDD.Net with MbUnit v2 and not had any problems, but with the new gallio release on my new pc, it does nothing.
From the tdd right click menu in solution explorer, if i do "test…

Andrew Bullock
- 36,616
- 34
- 155
- 231
9
votes
2 answers
Can a Gallio/MbUnit Test be Ran without Installing Gallio?
I've installed TestDriven.Net in Visual Studio 2008 and when I run a mbunit test from TD.Net I get this message:
It looks like you're trying to execute a Gallio/MbUnit unit test.
For Gallio v3.0.6 build 787 / Gallio v3.1 build 313 or above…

stung
- 347
- 5
- 13
- 27
8
votes
4 answers
Open source alternative for TestDrive.net 'Visual Studio add in' for unit testing?
I searched about this in SO and dint find a post on this. Since TestDriven.net is ONLY free for personal use, is there any other open source visual studio add in available for running NUnit test cases?
Thank you.
NLV

NLV
- 21,141
- 40
- 118
- 183
8
votes
3 answers
Run all open tests in Visual Studio
Is there an easy way to run all tests in open test classes in Visual Studio. I find that this is what I most often need to do.
Mostly I use Resharpers or TestDriven.NET testrunners, and I cant find any easy way to do that in either testrunner. In…

MatteS
- 1,542
- 1
- 16
- 35