File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >IDECodeSnippetCompletionPrefix</key >
6
+ <string >Unit test template</string >
7
+ <key >IDECodeSnippetCompletionScopes</key >
8
+ <array >
9
+ <string >All</string >
10
+ </array >
11
+ <key >IDECodeSnippetContents</key >
12
+ <string >// given
13
+
14
+ // when
15
+
16
+ // then</string >
17
+ <key >IDECodeSnippetIdentifier</key >
18
+ <string >750DA0B9-FABF-465E-BD7A-2E7AEB724658</string >
19
+ <key >IDECodeSnippetLanguage</key >
20
+ <string >Xcode.SourceCodeLanguage.Generic</string >
21
+ <key >IDECodeSnippetTitle</key >
22
+ <string >Unit test case template</string >
23
+ <key >IDECodeSnippetUserSnippet</key >
24
+ <true />
25
+ <key >IDECodeSnippetVersion</key >
26
+ <integer >2</integer >
27
+ </dict >
28
+ </plist >
Original file line number Diff line number Diff line change @@ -201,6 +201,21 @@ rm -rf XcodeCodeSnippets
201
201
static let < #notificationName #> = NSNotification.Name (" <#projectName#>.notifications.<#notificationName#>" )
202
202
```
203
203
</ details>
204
+
205
+ * A code block for creating template comments for unit test, ** shortcut: ** `Unit test template`
206
+ < details>
207
+ < summary> Code</ summary>
208
+ < br>
209
+
210
+ ```swift
211
+ // given
212
+
213
+ // when
214
+
215
+ // then
216
+
217
+ ```
218
+ </ details>
204
219
205
220
### Author
206
221
You can’t perform that action at this time.
0 commit comments