testy C# Test Method Snippet

This is a pretty trivial snippet, but I use it quite a lot.

Save this file as testy.snippet in your [Visual Studio]\VC#\Snippets\1033\Test directory.

Then, in the code editor, type testy, TAB+TAB to expand the snippet.

<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets  xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
	<CodeSnippet Format="1.0.0">
			<Description>Code snippet for creating an NUnit unit test in C#</Description>
			<Author>James Schubert</Author>
					<ToolTip>Test name</ToolTip>
                    <ToolTip>Test Case</ToolTip>
			<Code Language="csharp"><![CDATA[ ///<summary>
/// $summary$
public void $name$_When_$description$()
	// Arrange

	// Act

	// Assert

Flattr this!