testdriven.net

How to setup Binding redirect with Nunit's gui runner?

I am trying to run my unit tests with nHibernate 3 and fluentnHibernate, To do this I need to setup a assembly binding redirect so fluentnHibernate will work with the new version of nHibernate. I have tried to update my test project's app.config however the testdriven.net runner and the nunit gui runner don't seem to read these settin...

NUnit / Testdriven.Net conflicting results.

When I run this test in NUnit = Red Bar. [Test] public void ChangingValueViaPropertyDescriptorRaisesPropertyChangedNotification() { PropertyChangedEventArgs pCEventArgs = null; subjectVM.PropertyChanged += (sender, e) => { pCEventArgs = e; }; PropertyDescriptor descriptor = subjectVM.GetProperties()....

Help configuring MSpec

rig: win7 64bit, vs2010, mvc v2, TestDriven.Net 3.0, Reshaper 5.0, MSpec 0.3 i recently started a new project and want to use mspec. (1) copied Machine.Specifications.ReSharperRunner.5.0.dll and Machine.Specifications.dll to JetBrains\ReSharper\5.0\Bin\Plugins\Machine.Specifications (2) copied Machine.Specifications.TDNetRunner.dll to...

Visual Studio 2010 and Test Driven Development

I'm making my first steps in Test Driven Development with Visual Studio. I have some questions regarding how to implement generic classes with VS 2010. First, let's say I want to implement my own version of an ArrayList. I start by creating the following test (I'm using in this case MSTest): [TestMethod] public void Add_10_Items_Remove...

FileNotFound Exception when using TestDriven.NET and NUnit

I'm Writing a simple pong game in C# and XNA 4.0 to learn unit testing. The tools used are TestDriven.NET and NUnit, all newest versions. The problem is, if I test the code with VS2010 internal debugger, everything runs fine, but when I use "Run Test(s)" from menu, the application chokes with error: Test 'WindowsGame1.Game1.TestGameMenu...

nunit with testdriven.net problem in .net 4

Greeting, currently we migrate our project to .net 4. also we use .nunit 2.5.5 with testdriven.net 3. I got this error, when I run tests. Test 'TestCase1' failed: System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f...

TestDriven.NET runner not working with Silverlight 3 and MSTest

Hi, I am currently working on a project in Visual Studio 2010 that uses MSTest for Silverlight. I had recently converted this project from Visual Studio 2008 where the Silverlight-based tests ran without issue. However, when I try to run the unit tests at a test class scope (or beyond, i.e. "run all tests") in VS 2010 with TestDriven.NE...

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 Resharper it would be nice to have a "Add all open tests to session" feature, but after muc...

Open source alternative for TestDrive.net 'Visual Studio add in' for unit testing?

Hello 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 ...

TestDriven.NET Personal version vs Professional Version

Hi I'm having trouble finding online resources on the feature differences between the Personal version and Profession version TestDriven.NET. Below is the download link http://www.testdriven.net/download.aspx For example what features that Professional version offers but not in the Personal version? Can anybody points me to the corr...

Testdriven.net NCover integration: Excluding methods from Coverage Reports

I am using Testdriven.net to run NCover on my assemblies. However, I need to exclude certain methods from the coverage report. How can I do this? ...

test driven expect me to expect exception ,MStest not . why ? or, how to do it for testdriven

hello everyone i'm testing method foo() : [TestClass] class myTestClass { myTestClas() { var MockedProg = Mocks.Stub<myProg>(); } >[TestMethod] someTestName() { using (Mocks.Record()) { MockedProg.firstTest(); MockedProg.SecondTest(); MockedProg.th...

I can't get TestDriven.NET to show up in my installation of Visual Studio 2010

I've used TestDriven.NET in the past (with Visual Studio 2005), but now that I've got a new installation of Visual Studio 2010 on a different computer, I can't see either the Add-In Manager, or the TestDriven.NET stuff, even though I have them installed. Help, please! It's making me bonkers. Note: trying with current version (3.0) ...

Connection nHibernate to Oracle Issues

I am trying to connect to an Oracle Database using nHibernate. I can connect using the .Net driver: <property name="connection.driver_class">NHibernate.Driver.OracleClientDriver</property> However I would prefer to use the OracleDataClientDriver that ships with Oracle (or nHibernate? I forget). Anyway I was using the instructions ...

Rolling back a test (SQL Server 2008) with TestDriven.NET in Visual Studio 2010

How do I cause all my tests to do a rollback on the SQL Server 2008 database from my Visual Studio 2010 test harness? I'm using TestDriven.NET to run the tests. ...

Specflow error using TestDriven.Net - Couldn't Find Type

I'm trying out Specflow for the first time, and have created a VS2010 project with a reference to TechTalk.SpecFlow, as well as nunit.framework. I've added a sample Feature file: Feature: Addition In order to avoid silly mistakes As a math idiot I want to be told the sum of two numbers @mytag Scenario: Add two numbers ...

testdriven.net log4net console output

How do I get log4net console output to show up when using TestDriven.net to run nunit tests? I'm using the ColoredConsoleAppender, and there is no log output. ...

"Test with debugger" in ReSharper?

"TestDriven.NET" has a great feature called "test with debugger". Is there anything like this in ReSharper? Tried googling this, but can't find anything. ...

NCover 1.5.8 does generate coverate report

I run NCoverExploler, configure it, so command line look like this "D:\Development\Projects\t.net\lib\NCover\NCover.Console.exe" //reg //w "D:\Development\Projects\t.net\build_output\t.net" //v "D:\Development\Projects\t.net\lib\NUnit\nunit-console.exe" t.Core.Tests.dll /framework=4.0 Output coverage.xml appears to be empty. In the sa...