@dxworks/tap-puppet

run tap test in puppeteer

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
Last updated 6 months ago by edwardirby .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @dxworks/tap-puppet 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.0.1                                ...           latest (6 months ago)

1 Versions

  • 0.0.1 [deprecated]           ...           6 months ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (16)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |