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 i...
I have a test project using MbUnit and TestDriven.Net.
If I right-click on an individual test method and say "Run Tests" the test runs successfully. Same thing if I click on a file name in the solution explorer.
However, if I right click and say run tests on the project or the solution, TestDriven.Net reports "0 Passed, 0 Failed, ...
I'm trying to use TestDriven.Net not only to test my code, but to call a function on my code whose purpose is to print out the internal state of the code to the Debug window.
Here's a very simplified example of what I'm trying to do..
<TestFixture()> _
Public Class UnitTest
<Test()> _
Public Sub TestDebug()
Dim oClass1...
I'm running tests using the TestDriven.NET VS add-in, and the class library I'm testing is instrumented using TraceSource. How can I get the output of that TraceSource to show up in the Output window in Visual Studio? The DefaultTraceListener doesn't appear to be working quite right. Do I need to manually add a ConsoleListener or some...
When using NUnit and the test project, we haven't been able to find a way to step into the class we are testing in a web application. We are using TestDriven.NET add-in for Visual Studio 2008. We are able to hit a breakpoint in the test project, but not step into the web app class that is being tested.
...
I just started using TestDriven.NET to debug on my tests, here is my setup
TestDriven.NET 2.17
VS 2008 SP1
Windows XP
The problem I run into is on exception it keeps stepping into the .NET Framework source code. I checked Tools > Options > Debugging and "Enable .NET Framework source stepping" is not checked and "Enable Just My Code...
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 solution and run all the tests in the file. I can't seem to do that with XUnit + TD.net...
Hi,
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 with debugger" i get "0 passed, 0 failed, 0 skipped" in the VS status bar at the bot...
I have an odd problem in VS2008 running unit tests. When I run the unit test using either Resharper or TestDriven, in either normal or Debug mode, the Debug.WriteLine("foo") lines are being carried out twice: ie. in the Output window of VS I can see each line written twice.
If I step through the test, however, each line seems to be carr...
Check out this code:
internal static readonly Dictionary<Type, Func<IModel>> typeToCreator = new Dictionary<Type, Func<IModel>>();
protected static object _lock;
public virtual void Register<T>(Func<IModel> creator)
{
lock (_lock)
{
if (typeToCreator.ContainsKey(typeof(T)))
typeToCreator[typeof(T)] = creato...
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.
...
I have uninstalled my trial of TestDriven.NET but it leaves this menu behind on the context menu. How can I remove this?
...
I have VS08sp1, Gallio 3.0.6.763 and TestDriven.NET 2.14. I use MBUnit framework for unit tests. When using TestDriven's Test With > Debugger, I am able to step into the code. However, I am unable to "Edit and Continue", despite this option being turned on in VS options. I get the following error message:
changes are not allowed when...
I am working on a C# application that makes calls to a native Windows C dll. We use TestDriven.NET with xUnit for testing. The problem is, whenever we run unit tests that use the C library (which we did not write), and then try to build afterwards, there is a build error about how the library is being used by another process. To fix i...
I am using TestDriven.NET 2.21 and I read on the creator's blog that there is now an options pane. I am using Visual Studio 2008 Pro Edition. The thing is, I can't find out how to access this options pane anywhere. Where is it?
...
I am using testDriven.net and when I right-click and run tests, it appears to build, then runs the test. Only it doesn't really do the build. I keep making changes and the test still fails:) I have to do a VS Build, then run the testDriven.net to get changes to take effect.
This clears up for a while if I delete the solution's .SUO file...
Has anyone experienced any issues with using the mstest attribute [AssemblyInitialize] when running tests with TestDriven.Net?
I've tried 2.14 RTM and 2.22 RTM and neither seem to work for me. When I execute the test, the assembly init method isn't being executed. It's like TD.Net doesn't recongize the attribute.
Any tips/ideas/clues i...
Hi All,
I downloaded nUnit and TestDriven.net. I have a legacy Web Site application and I would like to implement some unit testing. I created a class in the app_code folder and added Imports NUnit.Framework etc... After writing a basic test, I get the "Can't execute tests in 'Web Site' application." error. I guess the Web Site project i...
The company I work at is going to buy some software tools for me to use, but I do have a budget to work with. I have some unit tests written for NUnit, and am looking at getting TestDriven.NET, NCover, or perhaps both. I'm using Visual Studio 2008.
My questions are:
Is there a good reason to get both of them?
If you had to choose o...
I'm using NUnit (but have also tried this with VS testing) and I'm having a problem getting TestDriven.Net to recognize and run different test fixtures in a single .cs file.
I'm trying to do a little BDD style testing. So what I have in one file is something like this:
[TestFixture]
public class when_view_is_ready : AAA
{
// setup,...