Created
January 13, 2012 15:18
-
-
Save mjul/1606920 to your computer and use it in GitHub Desktop.
C# Unit Test "File Template" for Resharper (mstest)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace $namespace$ | |
{ | |
[TestClass] | |
public class $class_under_test$ | |
{ | |
[TestMethod, TestCategory("Unit")] | |
public void $SELSTART$Method_Scenario_ExpectedBehaviour$SELEND$() | |
{ | |
$END$ | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Default file name: | |
ClassUnderTest.cs | |
(File name must be a valid identifier) | |
Macro Value settings: | |
$namespace$ is the "Default namespace for current file" (not editable occurrence) | |
$class_under_test$ is "Current file name without extension" (not editable occurrence) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment