generator-hubot-script-mocha
v1.6.0
Published
A generator for simple Hubot scripts with brain storage, environment variables and mocha tests
Downloads
8
Maintainers
Readme
Hubot Script Generator w/ Mocha Tests
:cat2: A generator for simple Hubot scripts with brain storage, environment variables and mocha tests.
Installation
First, install Yeoman and generator-hubot-script-mocha using npm (we assume you have pre-installed node.js).
npm install -g yo generator-hubot-script-mocha
Then generate your new Hubot script:
mkdir hubot-awesome-script
cd hubot-awesome-script
yo hubot-script-mocha
Run your script's tests with: npm test
Watch for file changes and run tests automatically with: npm run watch
Contributing
Please read our general contributing guidelines.