11 repositorios
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 es una biblioteca de JavaScript para crear interfaces de usuario basadas en una arquitectura orientada a componentes y un flujo de datos unidireccional.
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.
Este proyecto es un banco de pruebas especializado y utilidad de mocking diseñada para realizar pruebas unitarias de hooks de React de forma aislada. Proporciona un entorno de componentes simulado que ejecuta la lógica del hook y rastrea los valores devueltos sin requerir una interfaz de usuario completa. La biblioteca permite la verificación de los ciclos de vida de los hooks, incluyendo las fases de montaje, actualización y desmontaje. Cuenta con mecanismos para inyectar propiedades para forzar re-renderizados y un sistema de espera asíncrono para asegurar que las actualizaciones de estado se procesen antes de ejecutar las aserciones. El conjunto de herramientas cubre la verificación de la gestión de estado, limpieza automatizada del ciclo de vida para prevenir fugas de estado entre pruebas y la capacidad de activar actualizaciones de estado para verificar cómo responden los hooks a entradas cambiantes.
Provides specialized utilities for unit testing React hooks in isolation by simulating a component environment.
Este proyecto es un framework de pruebas diseñado para aplicaciones React Native, que proporciona un conjunto de herramientas para renderizar componentes en un entorno de memoria controlado. Permite a los desarrolladores verificar el comportamiento y la estructura de las interfaces móviles simulando interacciones del usuario y monitoreando las transiciones del ciclo de vida de los componentes. Al aislar los componentes del resto de la aplicación, garantiza que las pruebas permanezcan estables e independientes. El framework se distingue por su enfoque de accesibilidad primero, priorizando atributos orientados al usuario como roles, etiquetas y contenido de texto al consultar el árbol de componentes. Esta metodología asegura que las pruebas reflejen cómo un usuario real percibe e interactúa con la interfaz, en lugar de depender de detalles de implementación interna. También incluye un soporte robusto para operaciones asíncronas, sincronizando automáticamente las aserciones con actualizaciones de estado en segundo plano y renderizado de UI retrasado para evitar condiciones de carrera. Más allá del renderizado y la interacción central, la biblioteca ofrece capacidades integrales para validar el estado de la UI, inspeccionar estilos de componentes y verificar propiedades de accesibilidad. Admite pruebas de hooks personalizados de forma aislada, la gestión de árboles de componentes complejos mediante inyección de proveedores y la realización de verificación estructural mediante snapshots. Estas características permiten un control de calidad exhaustivo en diversos escenarios de interfaces móviles.
Provides a specialized framework for testing mobile components by simulating user interactions and verifying rendered output through accessible, user-centric queries.