jest-dom ist eine Sammlung benutzerdefinierter Matcher und Assertions für Jest, die darauf ausgelegt sind, HTML-Elementzustände, Barrierefreiheit und DOM-Eigenschaften zu validieren. Es fungiert als spezialisiertes Toolkit zur Überprüfung des strukturellen und visuellen Zustands von Webelementen während automatisierter Tests.
Die Hauptfunktionen von testing-library/jest-dom sind: DOM Testing Utilities, DOM Matchers, DOM Presence Verifications, Accessibility Testing, DOM Content Assertions, Element State Verifications, Custom Matchers, Accessible Attribute Verifications.
Open-Source-Alternativen zu testing-library/jest-dom sind unter anderem: testing-library/react-testing-library — React Testing Library is a testing framework for verifying React components by interacting with rendered output… googlechromelabs/projectvisbug — VisBug is an in-browser design tool that lets you inspect, edit, and manipulate live webpage elements directly,… codeceptjs/codeceptjs — CodeceptJS is a NodeJS end-to-end testing framework designed for automating acceptance tests across web, mobile, and… vitest-dev/vitest — Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an… googlechrome/accessibility-developer-tools — This project provides a comprehensive library and framework for automated web accessibility auditing. It enables… dequelabs/axe-core — axe-core is an automated accessibility testing engine and compliance auditor designed to scan web and mobile…
React Testing Library is a testing framework for verifying React components by interacting with rendered output instead of internal implementation details. It functions as a DOM testing utility and a frontend integration testing tool that mounts components into a virtual document object model for execution within Node.js environments. The library utilizes an accessibility-first query engine to locate user interface elements via ARIA roles and labels. This approach ensures web accessibility standards are met by mirroring how users perceive the interface rather than relying on implementation-sp
VisBug is an in-browser design tool that lets you inspect, edit, and manipulate live webpage elements directly, without touching source code. It functions as a browser design inspector, providing visual controls and keyboard shortcuts for real-time style inspection, element manipulation, and device simulation. The tool offers design-tool-inspired interactions for navigating the DOM as grouped layers, enabling direct selection and editing of nested components. It includes capabilities for drag-and-drop image replacement, live style inspection with computed properties and accessibility informat
CodeceptJS is a NodeJS end-to-end testing framework designed for automating acceptance tests across web, mobile, and desktop applications using a unified API. It serves as a cross-platform test automator and a behavior-driven development tool that maps human-readable feature files to technical step definitions. The framework features AI-powered test maintenance that uses machine learning to automatically identify and repair broken element selectors. It includes capabilities for autonomous test generation and a server that allows external agents to control tests and debug browser sessions in r
Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an integrated environment that supports unit, integration, and browser-based testing, allowing developers to execute test suites natively without requiring separate build steps or complex configuration. The project distinguishes itself through a highly optimized execution model that leverages worker-thread isolation and on-demand module transformation to provide rapid feedback. It includes a comprehensive suite of mocking and spying utilities that allow for the interception of depen