Skip to content

guidesmiths/hath-report-spec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hath-reporter-spec

Build Status

Outputs a hath report in spec like format, e.g.

 Hath Report Spec:
  ✓ Test something: I love it when a plan comes together
  ✖ Test something: You lose sucker!

Summary
-------
PASS: 1
FAIL: 1

Usage

var Hath = require('hath')
var report = require('hath-report-spec')

function testSomething(t, done) {
  t.assert(true, 'I love it when a plan comes together')
  t.assert(false, 'You lose sucker!')
  done()
}

module.exports = Hath.suite('Hath Report Spec', [
  testSomething
])

if (module === require.main) {
  module.exports(new Hath(report))
}

About

Outputs a hath summary in spec like format

Resources

Stars

Watchers

Forks

Packages

No packages published