Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.
/ bilgerat Public archive

Bilgerat is a cucumber output formatter that sends messages about failing scenarios to Hipchat rooms.

License

Notifications You must be signed in to change notification settings

mdsol/bilgerat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bilgerat

Bilgerat is a cucumber output formatter that sends messages about failing scenarios to HipChat rooms.

usage

In your Gemfile:

    gem 'bilgerat',            git: 'git@github.com:mdsol/bilgerat.git'

On the command line:

cucumber --format Bilgerat --out na --format pretty

configuration

You must supply a configuration file that contains credentials to use the HipChat API. By default Bilgerat looks for this file is config/hipchat.yml. You can override this location by setting the HIPCHAT_CONFIG_PATH environment variable.

The configuration file contains settings per context. You should set all configuration items in the default context. You can override these settings for other contexts. Use the BILGERAT_CONTEXT environment variable to choose the context.

For example our CI server runs cucumber scenarios in parallel for the first round, then reruns failing scenarios in the final round. Our config file looks like this:

default:
  user: 'Bilge Rat #{TEST_ENV_NUMBER}'
  auth_token: 'goes here'
  room: 'test room'
  error_color: 'red'
first_round:
  error_color: 'purple'
final_round:
  user: 'Final Bilge Rat'

About

Bilgerat is a cucumber output formatter that sends messages about failing scenarios to Hipchat rooms.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages