Search

Advertising

Home Downloads Tools

Tools

Folder Path: \ Tools \

File: NUnit Template for ASP.NET MVC 2.0

zip.png
Uploaded:
April.13.10
Modified:
April.13.10
File Size:
5 KB
Downloads:
697
Version
1.0

This is a template for Visual Studio 2010 (RTM) that will add NUnit as a unit testing framework that can be selected when creating a new ASP.NET MVC 2.0 web application project.

View the detailed descriptions for an install guide!

The ASP.NET MVC 2.0 test framework selection dialog showing NUnit as an option

Details

How to install:

1. Copy the zip file to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\Test

2. Close all Visual Studio instances, open a command prompt with administrator privileges, go to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE and run devenv /setup

Create the following Registry entries (you can copy & paste the code below, save it as a .reg file and double-click it for your convenience)

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0_Config\MVC2\TestProjectTemplates\NUnit\C#]
"Template"="MvcWebApplicationNUnitTestProjectTemplatev2.0.cs.zip"
"Path"="CSharp\\Test"
"TestFrameworkName"="NUnit"
"AdditionalInfo"="http://www.nunit.org/"
"Package"="{900679AE-4CA2-48AA-A3F4-449FBE75F514}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\MVC2\TestProjectTemplates\NUnit\C#]
"Template"="MvcWebApplicationNUnitTestProjectTemplatev2.0.cs.zip"
"Path"="CSharp\\Test"
"TestFrameworkName"="NUnit"
AdditionalInfo"="http://www.nunit.org/"
"Package"="{900679AE-4CA2-48AA-A3F4-449FBE75F514}"
  

The Wow6432Node key can be omitted on x86 systems.



Joomla Template by Joomlashack