Created
June 6, 2020 21:13
-
-
Save TomSoderling/1de12a7669f4fa339d31ac2574ce3de1 to your computer and use it in GitHub Desktop.
Unit test Name and Outline code snippet
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<CodeTemplates version="3.0"> | |
<CodeTemplate version="2.0"> | |
<Header> | |
<_Group>C#</_Group> | |
<Version /> | |
<MimeType>text/x-csharp</MimeType> | |
<Shortcut>test</Shortcut> | |
<_Description /> | |
<TemplateType>Unknown</TemplateType> | |
</Header> | |
<Variables> | |
<Variable name="StateUnderTest"> | |
<Default>StateUnderTest</Default> | |
</Variable> | |
<Variable name="ExpectedResult"> | |
<Default>ExpectedResult</Default> | |
</Variable> | |
<Variable name="UnitUnderTest"> | |
<Default>UnitUnderTest</Default> | |
</Variable> | |
</Variables> | |
<Code><![CDATA[[Test] | |
public void $UnitUnderTest$_$StateUnderTest$_$ExpectedResult$() | |
{ | |
// Arrange | |
// Act | |
// Assert | |
}]]></Code> | |
</CodeTemplate> | |
</CodeTemplates> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment