11 dépôts
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 est une bibliothèque JavaScript pour créer des interfaces utilisateur basées sur une architecture orientée composants et un flux de données unidirectionnel.
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.
Ce projet est un banc de test spécialisé et un utilitaire de mocking conçu pour tester les hooks React en isolation. Il fournit un environnement de composant simulé qui exécute la logique des hooks et suit les valeurs retournées sans nécessiter d'interface utilisateur complète. La bibliothèque permet la vérification des cycles de vie des hooks, y compris les phases de montage, de mise à jour et de démontage. Elle dispose de mécanismes pour injecter des propriétés afin de forcer les re-rendus et d'un système d'attente asynchrone pour s'assurer que les mises à jour d'état sont traitées avant que les assertions ne soient exécutées. L'ensemble d'outils couvre la vérification de la gestion d'état, le nettoyage automatique du cycle de vie pour éviter les fuites d'état entre les tests, et la capacité de déclencher des mises à jour d'état pour vérifier comment les hooks répondent aux changements d'entrées.
Provides specialized utilities for unit testing React hooks in isolation by simulating a component environment.
Ce projet est un framework de test conçu pour les applications React Native, fournissant une suite d'outils pour rendre les composants dans un environnement mémoire contrôlé. Il permet aux développeurs de vérifier le comportement et la structure des interfaces mobiles en simulant les interactions utilisateur et en surveillant les transitions du cycle de vie des composants. En isolant les composants du reste de l'application, il garantit que les tests restent stables et indépendants. Le framework se distingue par une approche axée sur l'accessibilité, privilégiant les attributs orientés utilisateur tels que les rôles, les étiquettes et le contenu textuel lors de l'interrogation de l'arbre des composants. Cette méthodologie garantit que les tests reflètent la manière dont un utilisateur réel perçoit et interagit avec l'interface, plutôt que de se baser sur des détails d'implémentation internes. Il inclut également un support robuste pour les opérations asynchrones, synchronisant automatiquement les assertions avec les mises à jour d'état en arrière-plan et le rendu différé de l'interface pour éviter les conditions de concurrence. Au-delà du rendu et de l'interaction, la bibliothèque offre des capacités complètes pour valider l'état de l'interface, inspecter les styles des composants et vérifier les propriétés d'accessibilité. Elle prend en charge le test des hooks personnalisés en isolation, la gestion d'arbres de composants complexes via l'injection de fournisseurs, et la vérification structurelle via des snapshots. Ces fonctionnalités permettent une assurance qualité approfondie pour divers scénarios d'interface mobile.
Provides a specialized framework for testing mobile components by simulating user interactions and verifying rendered output through accessible, user-centric queries.