browser-test-runner

0.8.0 • Public • Published

browser-test-runner

Write tests as a web page, run from the command line for ci. Outputs coverage for istanbul instrumented code.

Install

npm install browser-test-runner

Usage

Run tests on a browser:

browser-test-runner chrome 'target/test/index.html'
browser-test-runner firefox 'target/test/index.html'
browser-test-runner safari 'target/test/index.html'
browser-test-runner chrome-headless 'target/test/index.html'

Host the test file, and re-run the tests on any browser that has the page open whenever the tests are changed

browser-test-runner start 'target/test/index.html'

Changelog

0.8.0

  • Replace browser-test-runner phantom with browser-test-runner chrome-headless, which is backed by puppeteer

/browser-test-runner/

    Package Sidebar

    Install

    npm i browser-test-runner

    Weekly Downloads

    5

    Version

    0.8.0

    License

    MIT

    Unpacked Size

    17.7 kB

    Total Files

    12

    Last publish

    Collaborators

    • james.smyth