14 个仓库
Automated utilities that compare visual output against expected designs to detect rendering errors or UI regressions.
Explore 14 awesome GitHub repositories matching testing & quality assurance · Visual Testing. Refine with filters or upvote what's useful.
Playwright is a comprehensive browser automation framework designed for end-to-end testing and web workflow automation. It provides a unified API to drive web applications across multiple browser engines, enabling developers to simulate complex user interactions, perform web scraping, and validate application behavior in consistent, isolated environments. The framework distinguishes itself through a web-first testing paradigm that prioritizes stability and resilience. By utilizing an auto-waiting actionability engine and accessibility-tree-based locators, it eliminates common sources of test
Captures visual state as in-memory buffers to facilitate pixel-diffing or programmatic image analysis without disk I/O.
Avalonia is a cross-platform desktop framework that enables the creation of native-feeling applications for Windows, macOS, and Linux from a single codebase. It functions as a declarative UI toolkit, allowing developers to define complex visual hierarchies and interface structures using a markup-based syntax that maps directly to underlying object properties. By utilizing the Model-View-ViewModel architectural pattern, the framework facilitates a clean separation between application logic and user interface layout, which simplifies unit testing and component maintenance. The framework disting
Compares captured bitmaps of rendered frames against baselines to identify layout or styling changes.
This application is a specialized web browser designed to streamline responsive design testing by rendering multiple viewport configurations simultaneously. It functions as a cross-platform testing suite that allows developers to preview and interact with web content across diverse mobile, tablet, and desktop device profiles within a single workspace. The tool distinguishes itself by synchronizing user interactions and application state across all active browser instances. When a user navigates, scrolls, or clicks in one view, these events are broadcast to every other open viewport to ensure
Captures and saves screenshots across multiple device profiles to track design changes and layout status.
This project is a comprehensive knowledge base and educational resource for JavaScript developers, focused on establishing industry-standard methodologies for automated software testing. It provides a structured collection of design patterns and actionable guidelines designed to improve code reliability, maintainability, and overall software quality across the development lifecycle. The repository distinguishes itself by offering a granular, pattern-based approach to testing that spans unit, integration, and end-to-end verification. It emphasizes specific architectural strategies such as comp
Utilizes automated tools to detect visual regressions and layout issues.
ImageMagick is a comprehensive software suite for the creation, editing, composition, and conversion of digital images. It functions as both a command-line utility for batch processing and automation, and as a programming library that allows developers to integrate advanced image manipulation capabilities into external applications. The project is distinguished by its modular architecture, which supports hundreds of image formats through a pluggable coder system and external delegate libraries. It is designed for high-performance environments, utilizing memory-mapped pixel caching, stream-ori
Calculates and visualizes the mathematical or visual variance between two images to identify changes or errors.
PyAutoGUI is a Python GUI automation library and desktop automation framework. It provides a set of tools for programmatically controlling the mouse and keyboard to automate user interface interactions across different operating systems. The project functions as a cross-platform input simulator and computer vision screen scanner. It enables the simulation of keystrokes and cursor movements to perform repetitive tasks and utilizes screen analysis to locate specific images or pixel colors on the display. Its capability surface includes mouse and keyboard input simulation, screen image capture,
Implements automated visual scanning of the screen to verify that the user interface is displaying correctly.
Pest is a testing framework for PHP that provides a comprehensive suite for executing unit, integration, and end-to-end tests. It functions as an automated testing tool that prioritizes developer experience and readability through a concise, expressive syntax for defining test suites. By wrapping an established testing foundation, it maintains compatibility with existing ecosystem tools while offering a specialized interface for writing and organizing automated tests. The framework distinguishes itself through integrated support for parallel test execution, which distributes suites across mul
Generates and compares pixel-level representations of rendered interfaces against baseline images to detect visual regressions.
Karate 是一个 Gherkin API 测试框架和 JVM 测试编排器,专为 API 验证、工作流自动化和浏览器自动化而设计。它提供了一个统一的环境,用于在 Java 虚拟机上执行具有线程安全并发处理的可脚本化逻辑。 该项目包括一个内置的 HTTP 模拟服务器,通过向拦截的请求提供动态响应来模拟后端 API 行为。它还具有一个视觉回归测试工具,通过使用像素匹配分析将屏幕截图与基准图像进行比较,从而检测界面变化。 该系统通过将功能测试扩展为性能测试来支持 API 负载测试,以识别系统瓶颈。其他功能包括通过浏览器交互自动化进行的端到端 UI 测试,以及针对 JSON 和 XML 响应的数据结构验证。
Allows adjusting mismatch thresholds and defining ignore-regions via a browser interface to refine visual test results.
WinMerge is a visual file comparison and merge tool used to identify and synchronize differences between text files, folders, and images. It functions as a diff and patch generator, a visual folder synchronizer, and a hex binary comparator for non-text data. The tool provides specialized comparison modes for diverse content types, including side-by-side webpage rendering for HTML and resource trees, tabular data analysis for delimited files in a grid view, and visual image comparison using overlays and animations. It also supports comparing the contents of compressed archives without manual e
Detects pixel-level changes between images using overlays and blinking animations.
BackstopJS 是一个自动化截图测试框架和视觉回归测试工具,旨在识别 Web 应用不同版本之间的像素级差异。它作为浏览器自动化测试套件运行,捕获用户界面的视觉快照,并将其与存储的参考图像进行比较,以检测意外的变更。 该项目通过 Docker 利用容器化测试环境,以确保浏览器渲染的一致性并防止跨平台视觉差异。它包含一个 Web UI 差异对比界面,允许用户分析视觉差异,并通过交互式仪表板批准更新后的参考截图。 该框架提供浏览器交互自动化功能,包括模拟用户序列、准备页面状态和控制捕获时机的能力。它支持对特定 DOM 元素进行定向捕获、基于 CSS 选择器的元素遮罩以避免误报,以及可配置的像素不匹配阈值来判定测试失败。 该工具生成静态 HTML 报告,并将结果导出为适合集成到持续集成构建系统中的格式。
Utilizes a containerized setup to execute visual tests that compare rendered output against expected designs.
gm is a JavaScript image processing library and Node.js manipulation tool that serves as a programmatic wrapper for the GraphicsMagick engine. It translates JavaScript method calls into shell commands to automate the resizing, cropping, and transformation of images. The library provides an interface to execute specific GraphicsMagick operations while allowing raw command passthrough for custom arguments or engine features not covered by the standard API. Its capabilities cover geometric manipulation, color and tone adjustment, and image quality optimization. It includes tools for image compo
Provides utilities for analyzing and diffing visual assets to detect pixel-level changes.
pixelmatch is a JavaScript image comparison library and pixel-level difference detector. It identifies mismatched pixels between image data arrays and quantifies the differences based on a configurable sensitivity threshold. The tool generates visual difference maps that highlight specific pixel changes for manual review. It includes a command-line interface for comparing image files and exporting the resulting difference maps to the file system. The project provides capabilities for automated image analysis and visual regression testing, utilizing anti-aliasing heuristic filtering to ignore
Provides utilities for analyzing and diffing visual assets to detect pixel-level changes between versions.
WebDriverAgent 是一个设备端控制代理和自动化服务器,为 iOS 设备实现了 WebDriver 协议。它作为一个桥梁,能够远程控制物理 iOS 设备和模拟器上的应用程序及操作系统,以进行自动化测试。 该项目提供了一个 UI 测试框架,能够与屏幕元素交互、捕获屏幕截图并模拟用户手势。它将远程命令转换为原生系统调用,以与 iOS 辅助功能层次结构进行交互。 该服务器涵盖了广泛的设备编排和 UI 自动化功能,包括应用程序生命周期管理、设备方向控制和主屏幕导航。它还处理系统级任务,如生物识别身份验证模拟、系统警报处理和元素属性查询。 连接通过在目标设备上运行的 REST 服务器建立,支持通过 USB 隧道或无线连接进行通信。
Captures the current display frame buffer and encodes it as an image for remote visual verification.
jest-image-snapshot 是一个 Node.js 图像测试库和视觉比较引擎,专为 Jest 中的视觉回归测试而设计。它提供了一个自定义匹配器,用于将当前图像与基准快照进行比较,以识别像素差异。 该工具生成的图像差异(diff)突出了基准快照与接收快照之间的具体偏差。它包括在更改获得批准时更新基准图像的机制,并允许通过像素计数、百分比阈值或模糊度进行灵敏度调整,以忽略噪声。 该库涵盖了图像快照管理,包括用于目录路径的自定义存储配置,以及识别和删除不再与活动测试关联的过时快照的工具。它支持像素级和结构相似性算法,用于验证用户界面的一致性。
Provides interfaces for adjusting mismatch thresholds and applying blur to ignore visual noise.