Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testem-time-reporter

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testem-time-reporter

A testem reporter for highlighting tests

  • 1.2.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
472
decreased by-18.48%
Maintainers
1
Weekly downloads
 
Created
Source

Testem Time Reporter

Helpful in diagnosing long running tests. Reporter shows long running tests in colors based on thresholds. It also shows failures and error messages.

  • Fast passing tests are just dots
  • Slow passing tests show time to run, and test name, in color based on thresholds
  • Legend at end out output shows to avoid confusion
  • Longest running test printed at the end
  • Total test time printed at the end

Installation

npm install --save-dev testem-time-reporter

Usage

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

const TimeReporter = require('testem-time-reporter');

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

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

ember test --config-file ~/work/project/testem.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.

Keywords

FAQs

Package last updated on 30 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc