Hubot script to interface with Rainforest QA.
Add a dependency to your Hubot instance using NPM:
$ npm install --save hubot-rainforest
Then add this script to the external-scripts.json
:
["hubot-rainforest"]
You'll need to get your Rainforest token from your Rainforest settings page, and stick it in an environment variable in your deployment. For heroku, that looks like this:
$ heroku config:set HUBOT_RAINFOREST_TOKEN <token>
> hubot rf subscribe - Subscribe the current channel to test-run status updates
> hubot rf unsubscribe - Remove this room from the subscription list
> hubot rf status - Query the last 5 test runs
> hubot rf subscriptions - List the rooms that are subscribed to status updates