-
Notifications
You must be signed in to change notification settings - Fork 0
/
mtm.template.xml
51 lines (46 loc) · 1.22 KB
/
mtm.template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<CodeTemplates version="3.0">
<CodeTemplate version="2.0">
<Header>
<_Group>Custom</_Group>
<Version />
<MimeType>text/x-csharp</MimeType>
<Shortcut>mtm</Shortcut>
<_Description>Test method - Microsoft style</_Description>
<TemplateType>Expansion</TemplateType>
</Header>
<Variables>
<Variable name="DescribeYourTest">
<Default>MyAwesomeStuff</Default>
</Variable>
<Variable name="SetupYourTest">
<Default>Setup</Default>
</Variable>
<Variable name="CallMethodUnderTest">
<Default>Call MUT</Default>
</Variable>
<Variable name="MakeSureGoodStuffHappens">
<Default>Assertions</Default>
</Variable>
<Variable name=""**** {this.GetType().Name}.{nameof(Test">
<Default>notset</Default>
</Variable>
<Variable name=")}");
 /* Arrange: 
 * ">
<Default>notset</Default>
</Variable>
</Variables>
<Code><![CDATA[[TestMethod]
public void Test$DescribeYourTest$()
{
/* Arrange:
* $end$
*/
/* Act:
*
*/
/* Assert:
*
*/
}]]></Code>
</CodeTemplate>
</CodeTemplates>