Public | Automated Build

Last pushed: 3 months ago
Short Description
Whoopsie is a visual regression tool for testing responsive web sites
Full Description

Whoopsie


Whoopsie is a visual regression tool for testing responsive web sites.

Installation

$ npm install -g whoopsie

Note: Whoopsie requires Node.js v6.0 or higher and a recent version of ImageMagick.

Configuration

See config/sample.yaml for a sample configuration file.

Usage

Commands

gallery

Run visual regression tests and generate an HTML gallery containing the results.

$ whoopsie gallery path/to/config.yaml

test

Run visual regression tests and output raw JSON results.

$ whoopsie test path/to/config.yaml

validate-config

Check that the configuration file is valid.

$ whoopsie validate-config path/to/config.yaml

Options

Name Default value Description
--concurrency os.cpus().length Number of tests to run concurrently
--debug <Off> Print extra debugging information while running
--quiet <Off> Only print errors while running

Docker

If you prefer to run Whoopsie in a container, you can use the official Docker image:

$ docker pull wildlyinaccurate/whoopsie
$ docker run --rm --volume $PWD:/whoopsie --workdir /whoopsie \
    wildlyinaccurate/whoopsie \
    whoopsie gallery /whoopsie/path/to/config.yaml

Example Output

License

ISC

Docker Pull Command
Owner
wildlyinaccurate
Source Repository

Comments (0)