1.0.5 • Published 4 years ago

testcafe-reporter-lm-html v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

testcafe-reporter-lm-html

Build Status

This is the lm-html reporter plugin for TestCafe.

Install

npm install testcafe-reporter-lm-html

Usage

When you run tests from the command line, specify the reporter name by using the --reporter option:

testcafe chrome 'path/to/test/file.js' --reporter lm-html

When you use API, pass the reporter name to the reporter() method:

testCafe
    .createRunner()
    .src('path/to/test/file.js')
    .browsers('chrome')
    .reporter('lm-html') // <-
    .run();

If using .testcaferc.json for the testCafe reporter configuration, don't add the reporter() method as above, simply add the following to your config file...

{
  "reporter": [
    {
      "name": "spec"
    },
    {
      "name": "lm-html",
      "output": "public/reports.html"
    },
  ],
}

Cloning or Publishing Updates

  1. Make desired modifications
  2. run gulp build to update /lib/index
  3. run npm run publish (make sure you're pointing to LM NPM)

Author

James Martineau (http://jamesmart77.github.io)

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago