Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.24 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.24 KB

Pixdif Command-Line Interface

Build Status Npm Package

This is a command-line tool aimed to compare visual differences of files and generate test reports.

License

MIT

Installation

npm install @pixdif/cli
npm install @pixdif/png-parser # If you need to compare PNG images.
npm install @pixdif/pdf-parser # If you need to compare PDF documents.
npm install @pixdif/html-reporter # If you need to generate a test report into a web page.

Features

Compare two files.

pixdif cmp <expected> <actual>

Convert a file (e.g. PDF) into multiple PNG images.

pixdif convert <input>

Compare some files in 2 directories.

pixdif diff <expected directory> <actual directory> <file glob pattern>

Start a server to view test reports and update baselines.

pixdif serve

Check more details with --help. It's powered by and documented with yargs.

pixdif --help
pixdif <command> --help