CoffeeScript Ddry Snippets
CoffeeScript snippets for ddry data-driven DRY Node JS testing wrapper
Labels snippets
Details
Installs
- Total 1K
- Win 446
- Mac 416
- Linux 281
Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | Aug 3 | Aug 2 | Aug 1 | Jul 31 | Jul 30 | Jul 29 | Jul 28 | Jul 27 | Jul 26 | Jul 25 | Jul 24 | Jul 23 | Jul 22 | Jul 21 | Jul 20 | Jul 19 | Jul 18 | Jul 17 | Jul 16 | Jul 15 | Jul 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Sublime Text CoffeeScript snippets for ddry
Set of CoffeeScript snippets for ddry data-driven DRY Node JS testing wrapper.
Scope of all these snippets is source:coffee
, so please save your brand new data-driven spec file as .coffee
to enable them.
Then, even if you haven't decided yet what are you going to test, ddp tab
will expand to
Error: language “coffee” is not supported
'use strict'
module.exports = (dd) ->
dd.drive [
dd.pending()
]
This spec is very promising since it can actually engage every test harness, but sadly useless.
To start actual testing, expand dd tab
it tab
to
Error: language “coffee” is not supported
'use strict'
module.exports = (dd) ->
dd.drive [
it: 'get things done'
i: [ input ]
e: expected
]
Then cit
will give you comma and the next it
object, so please start it at correct indent level.
Use ddr
to start just dd.drive
call, ddc
for dd.context
. And we have now only minor snippets left.
Matchers
m:
formatcher: 'plain'
m:a
formatcher: 'anyOrder'
m:c
formatcher: 'contains'
m:e
formatcher: 'error'
m:p
formatcher: 'property'
Hooks
bh
forbefore
hookah
forafter
hook
Keep focused and save your time.