percy-node

0.2.1 • Public • Published

Build Status

percy-node

This is a wrapper of percy-js that simplifies the API so it can be used for automated visual regression testing in node environments such as testing an express app, an Angular app, or AngularJS app.

For more general information about Percy, visit Percy's homepage

This is not an official Google product.

How to use

Percy-node is an installable npm package.

npm install percy-node --save-dev

Feature

Percy-node provides an optional feature to return Percy build results. Passing 'true' to finalizeBuild() to enable that feature. You also need a token with read access, please reach out to the Percy team for that.

const percyNodeClient = require('percy-node');
percyNodeClient.finalizeBuild(true);

Motivation

This package was originally created specifically to allow testing of Express AngularJS apps tested with Jasmine, Karma, and Protractor. However, it is written in a general enough way that it could be used in another node based testing environment.

How to use with Protractor

See the Protractor guide

Contributing

See CONTRIBUTING.md

Package Sidebar

Install

npm i percy-node

Weekly Downloads

47

Version

0.2.1

License

MIT

Unpacked Size

80.9 kB

Total Files

12

Last publish

Collaborators

  • google-glue