testem-line-reporter

1.0.0 • Public • Published

Testem Failure Dot Reporter

Report just the interesting part of a test run: the failures and the dots.

Installation

npm install testem-failure-dot-reporter

Usage

Create a testem.js config file that sets reporter to testem-failure-dot-reporter:

var FailureDotReporter = require('testem-failure-dot-reporter');
var reporter = new FailureDotReporter();

module.exports = {
  "framework": "qunit",
  "test_page": "tests/index.html?hidepassed&coverage",
  "disable_watching": true,
  "launch_in_ci": [
    "PhantomJS"
  ],
  "reporter": reporter
};

Run tests in an Ember CLI project, reporting only failures:

ember test --config-file ~/work/project/testem.js

bin/run-tests.js is a sample script that uses sane to watch the filesystem, run tests on changes, parse the blanket.js coverage report, and output test coverage changes.

node_modules/testem-failure-dot-reporter/bin/run-tests.js

Notes

This currently doesn't work with ember test --module some-module because Ember CLI rewrites the testem.json file to accomplish this, and doesn't support the testem.js file.

See Ember CLI config rewriting and testem.js parsing.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i testem-line-reporter

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

42.3 kB

Total Files

9

Last publish

Collaborators

  • mnutt