You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2016-01-07-test-snippets.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,6 @@ file: 2016-01-07-test-snippets.md
6
6
---
7
7
Test Runners may have pre-made[Atom snippets](https://atom.io/docs/latest/using-atom-snippets) to quickly generate test files. See[*mocha-coderoad* snippets](https://github.com/coderoad/mocha-coderoad/blob/master/snippets.cson) as an example.
8
8
9
-
Open up*Atom* ->*Open Your Snippets*. Add the contents of`snippets.cson` to your global`snippets.cson` file. Read the project README to see which snippets are available and which prefixes you should use. For example: 'mochacr-f' for testing a "mocha-coderoad" function.
9
+
Open up*Atom* ->*Open Your Snippets*. Add the contents of`snippets.cson` to your global`snippets.cson` file. Read the project README to see which snippets are available and which prefixes you should use.
10
+
11
+
For example, typing 'mochacr-f' will generate an entire set of tests for a "mocha-coderoad" function.