awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
americanexpress avatar

americanexpress/jest-image-snapshot

0
View on GitHub↗
3,913 stars·208 forks·JavaScript·Apache-2.0·22 views

Jest Image Snapshot

jest-image-snapshot is a Node.js image testing library and visual comparison engine designed for visual regression testing within Jest. It provides a custom matcher to compare current images against baseline snapshots to identify pixel differences.

The tool generates image diffs that highlight specific divergences between baseline and received snapshots. It includes mechanisms to update baseline images when changes are approved and allows for sensitivity tuning via pixel count, percentage thresholds, or blur to ignore noise.

The library covers image snapshot management, including custom storage configuration for directory paths and utilities to identify and remove obsolete snapshots no longer associated with active tests. It supports both pixel-by-pixel and structural similarity algorithms for verifying user interface consistency.

Features

  • Visual Regression Testing - Automates the capture and comparison of screenshots to detect unintended UI changes within Jest.
  • Difference Map Generation - Produces visual images that highlight the specific pixel-level differences between baseline and received snapshots.
  • Node.js Image Processing - Provides a Node.js library for automating UI consistency verification via pixel-by-pixel analysis.
  • Baseline Image Storage - Persists approved reference images in a directory structure to serve as the source of truth for regressions.
  • Visual Consistency Testing - Ensures consistent visual layouts across different versions of a web application through automated image comparisons.
  • Pixel-Level Image Comparison - Compares image buffers at the pixel level to identify visual changes based on color variance.
  • Visual Snapshot Comparisons - Executes visual screenshot-based comparisons to verify UI correctness programmatically.
  • Frontend Visual QA - Verifies that styling and layout changes do not break the visual appearance of frontend interfaces.
  • Custom Matchers - Provides a custom matcher for comparing current images against baseline snapshots to identify differences.
  • Visual Difference Maps - Generates images that highlight pixel-level discrepancies between a current screenshot and a reference baseline.
  • Obsolete Image Identification - Tracks image files no longer associated with active tests to maintain clean storage.
  • Snapshot Archive Deletions - Identifies and deletes baseline images no longer associated with active tests to free disk space.
  • Visual Snapshot Lifecycles - Tracks and purges baseline images that are no longer associated with active test suites.
  • Visual Snapshot Management - Handles the lifecycle of reference images by updating baselines and removing obsolete snapshots.
  • Comparison Tuning - Provides interfaces for adjusting mismatch thresholds and applying blur to ignore visual noise.
  • Difference Thresholds - Determines test failure by calculating if the number of differing pixels exceeds a specified threshold.
  • Baseline Image Updates - Allows replacing existing reference snapshots with new images when visual changes are approved.
  • Pixel-Matching Analysis - Configures the pixel-matching mechanism and structural similarity thresholds for image comparison.
  • Snapshot Testing Utilities - Visual regression testing via image buffer snapshots
  • Testing Frameworks - Jest matcher for performing image comparisons using pixelmatch.

Star history

Star history chart for americanexpress/jest-image-snapshotStar history chart for americanexpress/jest-image-snapshot

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does americanexpress/jest-image-snapshot do?

jest-image-snapshot is a Node.js image testing library and visual comparison engine designed for visual regression testing within Jest. It provides a custom matcher to compare current images against baseline snapshots to identify pixel differences.

What are the main features of americanexpress/jest-image-snapshot?

The main features of americanexpress/jest-image-snapshot are: Visual Regression Testing, Difference Map Generation, Node.js Image Processing, Baseline Image Storage, Visual Consistency Testing, Pixel-Level Image Comparison, Visual Snapshot Comparisons, Frontend Visual QA.

Which projects share features with americanexpress/jest-image-snapshot?

Projects with overlapping indexed features include: facebookarchive/huxley — Huxley is a visual regression testing tool and browser automation framework designed to detect pixel-level interface… garris/backstopjs — BackstopJS is an automated screenshot testing framework and visual regression testing tool designed to identify… rsmbl/resemble.js — Resemble.js is a JavaScript image comparison library and pixel-based visual regression tool. It functions as an image… karatelabs/karate — Karate is a Gherkin API testing framework and JVM test orchestrator designed for API validation, workflow automation,… vslavik/diff-pdf — diff-pdf is a visual comparison tool for PDF files that identifies differences between two documents. It functions as… huddle/resemble.js — Resemble.js is an image comparison framework and visual difference engine designed for automated regression testing.…

Projects sharing features with Jest Image Snapshot

These projects share indexed features with Jest Image Snapshot. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • facebookarchive/huxleyF

    facebookarchive/huxley

    4,040View on GitHub↗

    Huxley is a visual regression testing tool and browser automation framework designed to detect pixel-level interface changes. It functions as an automated browser screenshotter that records user interactions and replays them to verify that web interfaces remain visually consistent across updates. The system generates visual diffs by comparing current screenshots against stored baseline images to highlight specific pixels that have changed. It includes mechanisms to manage these baselines, allowing users to update reference screenshots when interface changes are intentional. The framework cov

    Python
    View on GitHub↗4,040
  • garris/backstopjsgarris avatar

    garris/BackstopJS

    7,156View on GitHub↗

    BackstopJS is an automated screenshot testing framework and visual regression testing tool designed to identify pixel-level discrepancies between different versions of a web application. It functions as a browser automation testing suite that captures visual snapshots of a user interface and compares them against stored reference images to detect unintended changes. The project utilizes a containerized testing environment via Docker to ensure consistent browser rendering and prevent cross-platform visual discrepancies. It includes a web UI diffing interface that allows users to analyze visual

    JavaScript
    View on GitHub↗7,156
  • rsmbl/resemble.jsrsmbl avatar

    rsmbl/Resemble.js

    4,608View on GitHub↗

    Resemble.js is a JavaScript image comparison library and pixel-based visual regression tool. It functions as an image analysis engine that calculates the percentage of visual difference between two images and generates a diff image to highlight mismatched areas. The library utilizes a canvas-based approach to identify differences, providing capabilities for automated image comparison and UI component validation. It includes specialized filtering to reduce false positives by ignoring visual noise such as antialiasing and specific colors. The toolset covers image dimension normalization, analy

    JavaScript
    View on GitHub↗4,608
  • karatelabs/karatekaratelabs avatar

    karatelabs/karate

    8,882View on GitHub↗

    Karate is a Gherkin API testing framework and JVM test orchestrator designed for API validation, workflow automation, and browser automation. It provides a unified environment for executing scriptable logic on the Java Virtual Machine with thread-safe concurrent processing. The project includes a built-in HTTP mock server to simulate backend API behavior by delivering dynamic responses to intercepted requests. It also features a visual regression testing tool that detects interface changes by comparing screenshots against baseline images using pixel-matching analysis. The system supports API

    Java
    View on GitHub↗8,882
Compare all 30 related projects→