Get unlimited public & private packages + team-based management with npm Teams.Learn more »

This package has been deprecated

Author message:

These module has moved and is now available at @dxworks/rite. Please update your dependencies as this version is no longer maintained and may contain bugs and security issues

@dxworks/tap-puppet

0.0.1 • Public • Published

Tap Puppet

Run zora and @dxworks/rite test in using puppeteer & puppeteer-firefox. This test runner will take either a single file or a glob passed to run your test. It bundles them with rollup;

Example: glob

{
  "scripts": {
    "test": "npx tap-puppet test/**/*.test.js",
  }
}

Example: single

{
  "scripts": {
    "test": "npx tap-puppet test/example.test.js"
  }
}

The following flags can also be used

{
  '--coverage': Boolean,
  '--firefox': Boolean,
  '--debug': Boolean,
  '--public': String,
  '-c': '--coverage',
  '-d': '--debug',
  '-f': '--firefox',
  '-p': '--public',
}

Debugging

Sometime error messages are not clear coming back from the browser instance. using the --debug flag will open a browser running your test for easier debugging.

Keywords

none

Install

npm i @dxworks/tap-puppet

DownloadsWeekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

20.5 kB

Total Files

20

Last publish

Collaborators

  • avatar
  • avatar