File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version="1.0" encoding="utf-8"?>
2+ <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
3+ <CodeSnippet Format="1.0.0">
4+ <Header>
5+ <Title>ut (xUnit Test)</Title>
6+ <Author>Rusty Divine</Author>
7+ <Description>Unit Test Template with 3 Parts</Description>
8+ <HelpUrl>https://msdn.microsoft.com/en-us/library/ms165394.aspx</HelpUrl>
9+ <SnippetTypes />
10+ <Keywords />
11+ <Shortcut>ut</Shortcut>
12+ </Header>
13+ <Snippet>
14+ <References />
15+ <Imports />
16+ <Declarations>
17+ <Literal Editable="true">
18+ <ID>uow</ID>
19+ <Type></Type>
20+ <ToolTip>Name of the unit of work or scenario under test</ToolTip>
21+ <Default>UoW</Default>
22+ <Function></Function>
23+ </Literal>
24+ <Literal Editable="true">
25+ <ID>initialcondition</ID>
26+ <Type></Type>
27+ <ToolTip></ToolTip>
28+ <Default>InitialCondition</Default>
29+ <Function></Function>
30+ </Literal>
31+ <Literal Editable="true">
32+ <ID>expectedresult</ID>
33+ <Type></Type>
34+ <ToolTip>What your expected result is</ToolTip>
35+ <Default>ExpectedResult</Default>
36+ <Function></Function>
37+ </Literal>
38+ </Declarations>
39+ <Code Language="csharp" Kind="method decl" Delimiter="$"><![CDATA[[Fact]
40+ public void $uow$_$initialcondition$_$expectedresult$()
41+ {
42+ //Arrange
43+ $end$
44+
45+ //Act
46+
47+
48+ //Assert
49+
50+ }]]></Code>
51+ </Snippet>
52+ </CodeSnippet>
53+ </CodeSnippets>
You can’t perform that action at this time.
0 commit comments