A command-line tool for visual regression testing with an HTML reporter.
reg-cli is a command-line visual regression testing tool that compares screenshots to detect visual changes in applications. It helps developers catch unintended UI modifications by generating diff images and detailed HTML reports. The tool is designed for integration into CI/CD pipelines and local development workflows.
Frontend developers, QA engineers, and teams implementing visual testing in their CI/CD processes to ensure UI consistency across releases.
Developers choose reg-cli for its lightweight CLI interface, configurable comparison thresholds, and interactive HTML reports that make it easy to identify and review visual differences without complex setups.
📷 Visual regression test tool.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates detailed, visual reports that allow easy inspection of differences, as demonstrated in the documentation with screenshots of open, close, and viewer modes, enhancing debugging efficiency.
Offers configurable thresholds for pixel matching, rate, and pixel count (via options like -M, -T, -S), enabling users to adjust sensitivity and reduce false positives in visual tests.
Uses concurrency to launch multiple processes in parallel (default is 4, adjustable with -C), speeding up image comparisons and making it efficient for large test suites.
Includes an update mode (-U) to copy actual images to the expected directory, simplifying the process of updating baseline screenshots after intentional UI changes.
reg-cli only compares images; capturing screenshots requires integration with external tools like Puppeteer or Selenium, adding complexity and setup overhead to the testing workflow.
Some options, such as additionalDetection (-X), are labeled as 'highly experimental' in the README, which could lead to unreliable results or require frequent adjustments as the feature evolves.
Lacks a graphical user interface or API, limiting its appeal for teams that prefer visual workflows or need programmatic integration beyond command-line usage, such as in some CI/CD systems.