catops / generator-hubot-script-mocha

A Yeoman generator for creating Hubot scripts with brain storage, environment variables and robust mocha tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hubot Script Generator w/ Mocha Tests Build Status NPM version

🐈 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.

Open source licensing info

  1. TERMS
  2. LICENSE
  3. CFPB Source Code Policy

About

A Yeoman generator for creating Hubot scripts with brain storage, environment variables and robust mocha tests

License:MIT License


Languages

Language:JavaScript 68.8%Language:CoffeeScript 28.2%Language:Shell 3.0%