/hifive-browser

A rich browser reporter for Brofist tests.

Primary LanguageJavaScriptMIT LicenseMIT

brofist-browser

unstable Dependencies Status

Browser reporter for Brofist.

Example

You write your tests Brofist style

var spec = require('brofist')()

module.exports = spec('Your thing', function(it) {
  it('Should pass', function() {

  })

  it('Should fail', function() {
    throw new Error('boo')
  })
})

Then point the server to your file:

$ brofist-browser serve your-file.js

And get back this deliciously rich output!

The output of Brofist-browser

Installing

Just grab it from NPM:

$ npm install -g brofist-browser

Licence

MIT/X11. IOW you just do whatever the fuck you want to ;3