11 Repos
Specialized libraries that provide helpers for rendering, querying, and interacting with React components during unit tests.
Explore 11 awesome GitHub repositories matching testing & quality assurance · React Testing Utilities. Refine with filters or upvote what's useful.
React ist eine JavaScript-Bibliothek für den Aufbau von Benutzeroberflächen, basierend auf einer komponentenorientierten Architektur und unidirektionalem Datenfluss.
Provides controlled helpers to trigger user interactions and verify state updates in tests.
Create React App is a comprehensive suite of tools for project bootstrapping, local development serving, unit testing, and production asset optimization. It functions as a React project bootstrapper and frontend build toolchain that generates a pre-configured development environment and folder structure. The project provides a local development server with live reloading and real-time error reporting, alongside a built-in test runner for executing unit tests and generating code coverage reports. It also includes a progressive web app template to implement service workers and web app manifests
Provides an interactive test suite to verify that individual React components and functions behave correctly.
Create React App is a command-line tool that generates a pre-configured project structure and build pipeline for React web applications. It serves as a frontend project scaffold, providing a set of predefined directory structures and dependencies to start development without manual compiler or bundler setup. The tool manages a complete frontend build pipeline that compiles, minifies, and optimizes code into production-ready bundles with hashed filenames. It also includes a configuration tool for progressive web app standards, implementing web app manifests and service workers for offline func
Integrates interactive test watchers and coverage reports to verify the logic of React components.
This project is a community-driven knowledge base that serves as a centralized directory for the React and React Native ecosystems. It functions as a developer discovery portal, aggregating high-quality libraries, frameworks, and learning resources to assist in the research and selection of tools for modern web and mobile application development. The repository distinguishes itself through a hierarchical taxonomy that organizes a fragmented landscape of third-party software into functional domains. By utilizing markdown-based content curation, it provides a structured index that allows develo
Surfaces specialized testing utilities for rendering, querying, and interacting with components during unit verification.
Enzyme is a JavaScript component testing utility and test suite used to verify the behavior and rendered output of user interface components. It provides tools for simulating user interactions, updating component properties, and asserting that the resulting interface state matches expected outcomes. The project utilizes a pluggable adapter system to connect different user interface frameworks, allowing for consistent testing patterns across various libraries and versions. This architecture enables the verification of components across multiple UI library versions and different test runners.
Offers specialized helpers for rendering, querying, and interacting with React components in unit tests.
Enzyme is a testing utility for React components designed to verify their output and behavior in a test environment. It serves as a test harness for UI components, providing tools to render visual elements, manage state transitions, and simulate synthetic events. The library distinguishes itself through multiple rendering modes, including a shallow rendering engine for isolated unit testing and full DOM rendering for testing deep integration. It employs an adapter-based integration system to maintain compatibility across different versions of the underlying framework. The toolkit covers a br
Provides specialized helpers for rendering, querying, and interacting with React components during unit tests.
This project is a component testing framework and utility designed for testing React components. It functions as a DOM testing library that allows for the verification of rendered output and component functionality without accessing internal implementation details. The library focuses on behavior driven development by simulating user interactions within a virtual DOM environment. It utilizes implementation-agnostic querying to locate elements via accessible roles and labels, ensuring that the interface is verified from the perspective of the user. The toolset covers frontend integration test
Offers specialized helpers for rendering, querying, and interacting with React components during tests.
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
Provides specialized helpers for rendering, querying, and interacting with React components to verify end-user behavior.
react-responsive is a set of utility tools and hooks for evaluating CSS media queries within React components. It functions as a viewport state manager that detects screen dimensions and triggers user interface changes based on defined breakpoints. The project includes a helper for server-side rendering and automated testing that allows device properties to be overridden via context. This ensures consistent rendering when browser-native detection is unavailable. The library covers adaptive component rendering, viewport change monitoring, and responsive layout detection. It uses the native ma
Provides utilities to simulate different screen sizes for testing responsive layouts within React components.
Dieses Projekt ist ein spezialisiertes Test-Harness und Mocking-Utility für das Unit-Testing von React-Hooks in Isolation. Es bietet eine simulierte Komponenten-Umgebung, die Hook-Logik ausführt und zurückgegebene Werte verfolgt, ohne eine vollständige Benutzeroberfläche zu erfordern. Die Bibliothek ermöglicht die Überprüfung von Hook-Lebenszyklen, einschließlich Mounting-, Updating- und Unmounting-Phasen. Sie bietet Mechanismen zur Injektion von Properties, um Re-Renders zu erzwingen, sowie ein asynchrones Wartesystem, um sicherzustellen, dass Status-Updates verarbeitet werden, bevor Assertions ausgeführt werden. Das Toolset deckt die Überprüfung des Status-Managements, automatisierte Lebenszyklus-Bereinigung zur Vermeidung von Status-Leaks zwischen Tests sowie die Fähigkeit ab, Status-Updates auszulösen, um zu verifizieren, wie Hooks auf sich ändernde Eingaben reagieren.
Provides specialized utilities for unit testing React hooks in isolation by simulating a component environment.
Dieses Projekt ist ein Test-Framework für React Native-Anwendungen, das eine Suite von Tools zur Darstellung von Komponenten in einer kontrollierten Speicherumgebung bereitstellt. Es ermöglicht Entwicklern, das Verhalten und die Struktur mobiler Interfaces durch die Simulation von Benutzerinteraktionen und die Überwachung von Komponenten-Lebenszyklusübergängen zu verifizieren. Durch die Isolierung von Komponenten vom Rest der Anwendung wird sichergestellt, dass Tests stabil und unabhängig bleiben. Das Framework zeichnet sich durch einen Accessibility-First-Ansatz aus, bei dem benutzerorientierte Attribute wie Rollen, Labels und Textinhalte bei der Abfrage des Komponentenbaums priorisiert werden. Diese Methodik stellt sicher, dass Tests widerspiegeln, wie ein echter Benutzer das Interface wahrnimmt und damit interagiert, anstatt sich auf interne Implementierungsdetails zu verlassen. Es bietet zudem robuste Unterstützung für asynchrone Operationen und synchronisiert Assertions automatisch mit Hintergrund-Status-Updates und verzögertem UI-Rendering, um Race Conditions zu vermeiden. Über das reine Rendering und die Interaktion hinaus bietet die Bibliothek umfassende Funktionen zur Validierung des UI-Status, zur Inspektion von Komponenten-Styles und zur Überprüfung von Barrierefreiheitseigenschaften. Sie unterstützt das Testen von Custom Hooks in Isolation, die Verwaltung komplexer Komponentenbäume durch Provider-Injection und die strukturelle Verifizierung mittels Snapshots. Diese Funktionen ermöglichen eine gründliche Qualitätssicherung für verschiedene mobile Interface-Szenarien.
Provides a specialized framework for testing mobile components by simulating user interactions and verifying rendered output through accessible, user-centric queries.