TestDriven.Net 2.11: Parameterized NUnit Tests

TestDriven.Net has always supported parameterized test methods when used with the MbUnit testing framework. When using MbUnit, it is common for a single test method to execute multiple tests with different parameter inputs. The most famous of these test types is the MbUnit RowTest.

Until now there has been little reason to add support for executing parameterized tests using NUnit (historically NUnit has only supported parameterless test methods). However Andreas Schlapsi has recently written an implementation of MbUnit's RowTest using NUnit 2.4's Addin extensibility mechanism.

I've updated TestDriven.Net 2.11 to better support NUnit add-ins and enable the targeting of RowTests and other parameterized test types. This version also includes a workaround for a log4net related issue that was causing a noticeable delay when launching the NUnit 2.4 GUI. You can find the release notes for TestDriven.Net 2.11 here.

To install the RowTest Extension for NUnit you will need to do the following:

  1. Download and install TestDriven.Net 2.11.
  2. Download the RowTest Extension for NUnit 2.4.5 (Binary).
  3. Create a directory called 'addins' in '%ProgramFiles%\TestDriven.NET 2.0\NUnit\2.4'.
  4. Copy the 'NUnitExtension.RowTest.AddIn.dll' file into the 'addins' directory (don't put any non-assembly files there).
  5. Add a reference to 'NUnitExtension.RowTest.dll' from your NUnit test project.

 RunRowTest

You can then start writing and executing MbUnit style RowTests inside your NUnit projects! You can find Peli's original RowTest example here.

TestWithNUnit24

To view your RowTests inside the NUnit GUI you will need to use 'Test With > NUnit 2.4'. You will find this option on the 'Solution Explorer' project context menu.

NUnitGui

Thanks to Wayne Brantley for letting me know about the RowTest Extension for NUnit.

Published Monday, December 17, 2007 4:41 AM by Jamie Cansdale

Comments

# andreas-schlapsi.com ?? TestDriven.NET supports RowTestExtension

Pingback from  andreas-schlapsi.com ?? TestDriven.NET supports RowTestExtension

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » Ubuntu and Red Hat praise IBM as it joins OpenOffice.org

Pingback from  Developer News  » Blog Archive   »  Ubuntu and Red Hat praise IBM as it joins OpenOffice.org

# Developer News » Blog Archive » My first Extension method… I decided as part of my

Pingback from  Developer News  » Blog Archive   »  My first Extension method… I decided as part of my

# Developer News » Blog Archive » SQL Server Security & Compliance - webcast by IDERA “SQL

Pingback from  Developer News  » Blog Archive   »  SQL Server Security & Compliance - webcast by IDERA “SQL

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » Ubuntu and Red Hat praise IBM as it joins OpenOffice.org

Pingback from  Developer News  » Blog Archive   »  Ubuntu and Red Hat praise IBM as it joins OpenOffice.org

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » IntelliJ Does Flex The latest build of JetBrains’ IntelliJ IDE

Pingback from  Developer News  » Blog Archive   »  IntelliJ Does Flex The latest build of JetBrains’ IntelliJ IDE

# Developer News » Blog Archive » Optimalon ships Gipals32 version 2.5 Optimalon Software has announced the

Pingback from  Developer News  » Blog Archive   »  Optimalon ships Gipals32 version 2.5 Optimalon Software has announced the

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » Useful Extension Methods In this article, Brian examines extension methods

Pingback from  Developer News  » Blog Archive   »  Useful Extension Methods     In this article, Brian examines extension methods

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » CodeSnip: How to Run Any Oracle Script File Through Shell

Pingback from  Developer News  » Blog Archive   »  CodeSnip: How to Run Any Oracle Script File Through Shell

# Developer News » Blog Archive » ASP.NET MVC Source Code Now Available Last month I blogged

Pingback from  Developer News  » Blog Archive   »  ASP.NET MVC Source Code Now Available Last month I blogged

# Developer News » Blog Archive » Syncro Soft ships Syncro SVN Client version 3.0 Syncro Soft

Pingback from  Developer News  » Blog Archive   »  Syncro Soft ships Syncro SVN Client version 3.0 Syncro Soft

# Developer News » Blog Archive » CodeSnip: Using the Windows Indexing Service with ASP.NET and C#

Pingback from  Developer News  » Blog Archive   »  CodeSnip: Using the Windows Indexing Service with ASP.NET and C#

# Developer News » Blog Archive » Microsoft vs TestDriven.NET - 06 June 2007Today Microsoft kindly extended

Pingback from  Developer News  » Blog Archive   »  Microsoft vs TestDriven.NET - 06 June 2007Today Microsoft kindly extended

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# TestDriven.Net 2.13: Support for NUnit 2.4.7

The latest release of TestDriven.Net is now compiled against NUnit 2.4.7 . This version of NUnit includes

Monday, April 28, 2008 10:01 AM by TestDriven.NET by Jamie Cansdale

# Developer News » Blog Archive » New icon collection for Perpetuum’s Ribbon Toolbar Perpetuum Software LLC

Pingback from  Developer News  » Blog Archive   »  New icon collection for Perpetuum’s Ribbon Toolbar Perpetuum Software LLC

# Developer News » Blog Archive » Automation Anywhere Enterprise 4.5 is out Tethys Solutions has unveiled

Pingback from  Developer News  » Blog Archive   »  Automation Anywhere Enterprise 4.5 is out Tethys Solutions has unveiled

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » Is there a way? Is there a way to make

Pingback from  Developer News  » Blog Archive   »  Is there a way?    Is there a way to make

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# re: TestDriven.Net 2.11: Parameterized NUnit Tests

When running row test my setup and teardown methods are being ignored! Any reason for this?

Monday, June 16, 2008 9:12 PM by J. Prinz

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » Small Step for Man, One Giant Leap for Testers Have

Pingback from  Developer News  » Blog Archive   »  Small Step for Man, One Giant Leap for Testers  Have

# Developer News » Blog Archive » Rewriting history? I very often update and modify my posts

Pingback from  Developer News  » Blog Archive   »  Rewriting history? I very often update and modify my posts

# re: TestDriven.Net 2.11: Parameterized NUnit Tests

What other test types does MbUnit have where "it is common for a single test method to execute multiple tests with different parameter inputs"?

Tuesday, July 29, 2008 7:31 PM by John "Z-Bo" Zabroski

# Developer News » Blog Archive » Implementing Ajax using PHP In this article Babita examines what

Pingback from  Developer News  » Blog Archive   »  Implementing Ajax using PHP     In this article Babita examines what

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » What Virtual Private Networking software would I recommend for Windows

Pingback from  Developer News  » Blog Archive   »  What Virtual Private Networking software would I recommend for Windows

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » Shock Horror: IE8 BETA 2 has some bugs Look, I

Pingback from  Developer News  » Blog Archive   »  Shock Horror: IE8 BETA 2 has some bugs  Look, I

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » Not all AnonymousMethods are the same Whilst debugging code that

Pingback from  Developer News  » Blog Archive   »  Not all AnonymousMethods are the same Whilst debugging code that

# Developer News » Blog Archive » Microsoft Patches Critical Flaws in GDI+ Microsoft yesterday released a

Pingback from  Developer News  » Blog Archive   »  Microsoft Patches Critical Flaws in GDI+  Microsoft yesterday released a

# Developer News » Blog Archive » ‘Preflight’ Your Builds for More Continuous Integration If you’re part

Pingback from  Developer News  » Blog Archive   »  ‘Preflight’ Your Builds for More Continuous Integration  If you’re part

# Developer News » Blog Archive » Future of Web Apps I’ll be at FOWA tomorrow and

Pingback from  Developer News  » Blog Archive   »  Future of Web Apps I’ll be at FOWA tomorrow and

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

# Developer News » Blog Archive » TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Pingback from  Developer News  » Blog Archive   »  TestDriven.Net 2.11: Parameterized NUnit TestsTestDriven.Net has always supported parameterized test

Leave a Comment

(required) 
(required) 
(optional)
(required)