0.7.1 • Published 9 months ago

pupille v0.7.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Pupille

npm package

Pupille is a visual testing tool, running directly on your computer and CI server.

Setting up

Install Pupille

Using the package manager of your choice:

npm install pupille
yarn add pupille

Set up your configuration

Create a pupille.config.js file with the following empty skeleton:

// /pupille.config.js
module.exports = {
  baseUrl: '',
  tests: [],
}

You can start adding the URLs you want to test like so:

// /pupille.config.js
module.exports = {
  baseUrl: 'http://localhost:3000',
  tests: [{ url: '/login' }, { url: '/profile' }, { url: '/dashboard' }],
}

Testing it out

Simply run pupille check:

npx pupille check

This will run the Pupille checker on your machine, and screenshots will be generated automatically for the configured URLs.

If the results are as expected, you can approve all of the new screenshots with npx pupille approve '*'. If only some of the URLs are fine, you can specify which you want to approve (for example: npx pupille approve /login,/profile).

0.6.3

9 months ago

0.4.5

9 months ago

0.7.1

9 months ago

0.6.2

9 months ago

0.4.4

9 months ago

0.4.6

9 months ago

0.5.0

9 months ago

0.4.1

9 months ago

0.4.0

9 months ago

0.3.1

9 months ago

0.7.0

9 months ago

0.6.1

9 months ago

0.6.0

9 months ago

0.4.2

9 months ago

0.2.1

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.1.2

3 years ago

0.0.1

3 years ago