A web application for visual regression testing that diffs screenshots and provides a real-time pass/fail API.
Spectre is a web application for visual regression testing that allows developers to compare screenshots across different test runs. It provides a UI for browsing and inspecting visual diffs and an API for automated test scripts to submit screenshots and receive real-time pass/fail results. The tool helps detect unintended visual changes in web applications during development and testing.
Developers and QA engineers working on web applications who need to automate visual regression testing as part of their CI/CD pipeline. It's particularly useful for teams using tools like Selenium, Wraith, or BackstopJS for screenshot capture.
Spectre offers a self-hosted, open-source alternative to commercial visual testing services, giving teams full control over their testing infrastructure. Its simple API and integration with existing testing frameworks make it easy to incorporate visual regression testing into automated workflows.
A simple UI for browsing and inspecting diffs, and an API for runner scripts to submit screenshots to and receive a pass or fail in real time. (For use with Wraith, Backstop, Selenium etc)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The real-time API allows test runners like Selenium to submit screenshots and receive immediate pass/fail results, as demonstrated in the POST /tests endpoint example in the README.
Spectre can be deployed on-premises or via Heroku, giving teams full data control and avoiding vendor lock-in, as highlighted in the running instructions.
Enables focused visual diffs on specific page elements by specifying bounding boxes in test submissions, useful for component-level testing, as detailed in the crop_area parameter description.
Includes Rails Admin accessible at /admin for easy management of tests and projects without custom UI development, mentioned in the administration section.
The original repository is no longer maintained, with the README explicitly stating this and recommending alternatives like Percy.io, making it risky for production use.
Requires manual installation of Ruby, Postgres, and Imagemagick, or Docker setup, which is more involved compared to cloud-based solutions, as seen in the macOS and Docker instructions.
No built-in UI or API for editing or deleting content; users must rely on the included Rails Admin, which may not be user-friendly for all teams, as admitted in the administration notes.
Spectre is an open-source alternative to the following products: