0.2.3 • Published 6 years ago

generic-checkmark-reporter v0.2.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

:boom: Careful: This package is no longer maintained and is only here for historic reasons. This means you should very likely not use it. You have been warned. :boom:


generic-checkmark-reporter

Test reporter that prints small but useful results to console. Keeps the output consistent across different testing frameworks. Supports diffing and smart error messages.

npm.io

Usage

API

var genericReporter = require('generic-checkmark-reporter')

// Function to call at the start of the test run, with an
// optional output function (defaults to process.stdout.write)
genericReporter.start(outputFunction)

// Function to call to report a single spec result
// Type: success, failure, skipped
// Error: error object given back by the test framework (e.g. AssertionError)
genericReporter.result(type, error)

// Function to call to report end results
genericReporter.end()

Licence

MIT

0.2.3

6 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago