CSharp NUnit Test Live Template for Resharper 1.5 and Visual Studio 2003

This customization applies to the use of ReSharper 1.5 in VS2003 to make it faster to create NUnit unit tests.
 
After installing ReSharper follow these steps in the Visual Studio IDE:
 
1. ReSharper > Options > Live Templates
2. Click the New Button.
3. Abbreviation = whatever you want to be the shortcut text (I used ‘test’)
4. Description = whatever you want the description to be
5. Template text:
 

[Test]

public void $MethodName$()

{

}

 

6. Click OK.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s