Created
August 6, 2010 19:33
-
-
Save zachbonham/511865 to your computer and use it in GitHub Desktop.
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" ?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>tm</Title> | |
<Shortcut>tm</Shortcut> | |
<Description>Code snippet for an automatically create a method decorated with [TestMethod] attribute.</Description> | |
<Author>Zach Bonham</Author> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal> | |
<ID>suite</ID> | |
<ToolTip>suite, or system under test.</ToolTip> | |
<Default>TestSuite</Default> | |
</Literal> | |
<Literal> | |
<ID>condition</ID> | |
<ToolTip>The condition we are testing for.</ToolTip> | |
<Default>Condition</Default> | |
</Literal> | |
<Literal> | |
<ID>assertion</ID> | |
<ToolTip>The assertion we are making.</ToolTip> | |
<Default>Assertion</Default> | |
</Literal> | |
</Declarations> | |
<Code Language="csharp"> | |
<![CDATA[ | |
[TestMethod] | |
public void $suite$_$condition$_$assertion$() | |
{ | |
} | |
$end$ | |
]]> | |
</Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment