maka:html-reporter

v0.10.5Published 5 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Velocity HTML Reporter

I've updated this package to include features from meteor-coverage. Specifically a simple button that runs the coverage report and opens a page to it. I take no credit for any of the hard work Velocity or Meteor-Coverage has done. Thank you Xolvio and Serut for your awesome work!

This is essentially identical to velocity:html-reporter, but requires serut:meteor-coverage for the "Run Coverage Report" button.

HTML reporter for Meteor's Velocity testing framework. This reporter will show you test results in your app.

Installation

Install this and at least one Velocity-compatible testing framework then add this package:

meteor add maka:html-reporter

Usage

If you want to hide the reporter in development mode, you can press ctrl + v

Settings

You can set the position of the reporter by adding a settings file like this:

{
  "public": {
    "velocity:html-reporter": {
      "position": "bottom right",
      "tab-index" : 1
    }
  }
}

Available positional options are:

  • "top right"
  • "top left"
  • "bottom right"
  • "bottom left"

The "tab-index" field is used for people with disabilities to access the reporter via keyboard shortcuts.

You may also be interested in the velocity:console-reporter package