2.0.4 • Published 4 years ago

qunit-puppeteer-reporter v2.0.4

Weekly downloads
10
License
Apache-2.0
Repository
github
Last release
4 years ago

qunit-puppeteer-reporter

headless browser testing for QUnit test suites, using Puppeteer to report results via the command line

$ qunit-reporter http://localhost:8000/test/
loading test suite at http://localhost:8000/test/
✓ passed 18 / 18 (106 ms)

Note that this intentionally focuses only on reporting success/failure; for details and debugging you'll want to open the test suite in a regular browser.

Getting Started

$ npm install qunit-puppeteer-reporter
$ npm install -g puppeteer

Due to its size, the Puppeteer package is expected to be installed separately so it can be used across multiple projects.

$ npx qunit-reporter /path/to/tests.html

Both local file paths and URLs are supported.

(Note that npx is merely a shortcut for commands in node_modules/.bin - you might also define npm scripts to use npm start, for example.)

Contributing

  • ensure Node is installed
  • npm install downloads dependencies
  • npm test checks code for stylistic consistency

Alternatives

2.0.4

4 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago