This is the example project for the Image Tester CLI tutorial. It shows how to start automating visual tests with Applitools Eyes using the Image Tester CLI tool.
This repository contains the Image Tester JAR file (version 3.1.3) along with a set of PDFs and image files for testing.
The files
directory provides "original" version of the PDFs and images,
while the files_modified
directory provides visually modified versions of the same files.
To run the Image Tester CLI, you'll need:
- An Applitools account, which you can register for free
- The Java Runtime Environment version 9 or higher
To execute Image Tester tests, set the APPLITOOLS_API_KEY
environment variable
to your account's API key.
Start by setting baselines using the original files by running:
java -jar ImageTester_3.1.3.jar -f files/ -fb "Example: Image Tester CLI"
Then, check for visual differences in the modified files by running:
java -jar ImageTester_3.1.3.jar -f files_modified/ -fb "Example: Image Tester CLI"
Note: You can fetch the latest version of the Image Tester JAR file at https://github.com/applitools/ImageTester/releases/latest.
For full instructions on running this project, take our Image Tester CLI tutorial!