File tree 3 files changed +133
-0
lines changed
3 files changed +133
-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>spec</Title>
6
+ <Shortcut>spec</Shortcut>
7
+ <Description>Code snippet for stubbing in a simple Machine.Specifications test</Description>
8
+ <Author>Nathan Bridgewater</Author>
9
+ <SnippetTypes>
10
+ <SnippetType>Expansion</SnippetType>
11
+ </SnippetTypes>
12
+ </Header>
13
+ <Snippet>
14
+ <Declarations>
15
+ <Literal>
16
+ <ID>subjectText</ID>
17
+ <ToolTip>Spec Subject Description</ToolTip>
18
+ <Default>Category</Default>
19
+ </Literal>
20
+ <Literal>
21
+ <ID>name</ID>
22
+ <ToolTip>Spec name</ToolTip>
23
+ <Default>When_something_happens_with_constraint</Default>
24
+ </Literal>
25
+ </Declarations>
26
+ <Code Language="csharp">
27
+ <![CDATA[[Subject("$subjectText$")]
28
+ public class $name$
29
+ {
30
+ Establish context;
31
+
32
+ Because of;
33
+
34
+ It Should;
35
+ }
36
+
37
+ $end$]]>
38
+ </Code>
39
+ </Snippet>
40
+ </CodeSnippet>
41
+ </CodeSnippets>
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>specf</Title>
6
+ <Shortcut>specf</Shortcut>
7
+ <Description>Code snippet for stubbing in a simple Machine.Specifications test using Machine.Fakes WithFakes</Description>
8
+ <Author>Nathan Bridgewater</Author>
9
+ <SnippetTypes>
10
+ <SnippetType>Expansion</SnippetType>
11
+ </SnippetTypes>
12
+ </Header>
13
+ <Snippet>
14
+ <Declarations>
15
+ <Literal>
16
+ <ID>subjectText</ID>
17
+ <ToolTip>Spec Subject Description</ToolTip>
18
+ <Default>Category</Default>
19
+ </Literal>
20
+ <Literal>
21
+ <ID>subject</ID>
22
+ <ToolTip>Spec Fakes Subject</ToolTip>
23
+ <Default>SomeImplementationType</Default>
24
+ </Literal>
25
+ <Literal>
26
+ <ID>name</ID>
27
+ <ToolTip>Spec name</ToolTip>
28
+ <Default>When_something_happens_with_constraint</Default>
29
+ </Literal>
30
+ </Declarations>
31
+ <Code Language="csharp">
32
+ <![CDATA[[Subject("$subjectText$")]
33
+ public class $name$ : WithFakes
34
+ {
35
+ Establish context;
36
+
37
+ Because of;
38
+
39
+ It Should;
40
+ }
41
+
42
+ $end$]]>
43
+ </Code>
44
+ </Snippet>
45
+ </CodeSnippet>
46
+ </CodeSnippets>
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>specs</Title>
6
+ <Shortcut>specs</Shortcut>
7
+ <Description>Code snippet for stubbing in a simple Machine.Specifications test with Machine.Fakes subject.</Description>
8
+ <Author>Nathan Bridgewater</Author>
9
+ <SnippetTypes>
10
+ <SnippetType>Expansion</SnippetType>
11
+ </SnippetTypes>
12
+ </Header>
13
+ <Snippet>
14
+ <Declarations>
15
+ <Literal>
16
+ <ID>subjectText</ID>
17
+ <ToolTip>Spec Subject Description</ToolTip>
18
+ <Default>Category</Default>
19
+ </Literal>
20
+ <Literal>
21
+ <ID>subject</ID>
22
+ <ToolTip>Spec Fakes Subject</ToolTip>
23
+ <Default>SomeImplementationType</Default>
24
+ </Literal>
25
+ <Literal>
26
+ <ID>name</ID>
27
+ <ToolTip>Spec name</ToolTip>
28
+ <Default>When_something_happens_with_constraint</Default>
29
+ </Literal>
30
+ </Declarations>
31
+ <Code Language="csharp">
32
+ <![CDATA[[Subject("$subjectText$")]
33
+ public class $name$ : WithSubject<$subject$>
34
+ {
35
+ Establish context;
36
+
37
+ Because of;
38
+
39
+ It Should;
40
+ }
41
+
42
+ $end$]]>
43
+ </Code>
44
+ </Snippet>
45
+ </CodeSnippet>
46
+ </CodeSnippets>
You can’t perform that action at this time.
0 commit comments