webjerky

0.3.0 • Public • Published

webjerky

web application screenshot testing in docker.

webjerky is a small script that wires together a few webjerk plugins. it runs element-wise screenshot testing in real browsers in a docker container. you can read the single file source for a better idea!

specifically, it:

  • generates snaps from webjerk-snaps,
    • by default, 'jerky looks for sauce creds, but you can test against a local selenium instance by passing conf.localSelenium or WEBJERKY_LOCAL=true
  • compares test snaps from reference snaps with webjerk-image-set-diff
    • see ^^ docs to see how to use the comparison algorithm, approve new images, etc
  • creates reports from webjerk-image-set-diff-reporter when differences detected

usage

API documentation lives here.

var webjerky = require('webjerky')
var conf = { ... } // see API docs
webjerky(conf).then(...) // `snaps/` will be a dir with the result of `webjerk-snaps` within!

Readme

Keywords

none

Package Sidebar

Install

npm i webjerky

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • cdaringe