1.0.1 • Published 8 years ago
cucumber-snippets-livescript v1.0.1
Cucumber Step Definitions in LiveScript
This repo is for developers who write Cucumber-JS specs in LiveScript. It makes Cucumber provide snippets for missing step definitions in LiveScript instead of JavaScript.
Installation
add this module to your repo:
$ npm install --save-dev cucumber-snippets-livescript
tell cucumber-js about it via the command-line option:
--snippet-syntax ./node_modules/cucumber-snippets-livescript
If you don't want to do this manually all the time, create a file cucumber.js in your app's root directory:
module.exports = { "default": "--compiler ls:livescript --snippet-syntax ./node_modules/cucumber-snippets-livescript" }
Related projects
Development
see the developer documentation