awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
kentcdodds avatar

kentcdodds/react-testing-library

0
View on GitHub↗
19,606 stars·1,165 forks·JavaScript·MIT·9 vuestesting-library.com/react↗

React Testing Library

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 testing and React DOM validation. It provides capabilities to render components into a simulated browser document, trigger synthetic events, and verify that the resulting HTML output behaves correctly.

Features

  • Implementation-Agnostic Querying - Locates elements using accessible roles and labels instead of internal component state or CSS classes.
  • Node.js DOM Implementations - Uses a JavaScript implementation of the DOM to run browser-like tests within a Node.js process.
  • User Interaction Simulation - Trigger user events on rendered elements to verify the interface behaves correctly from the user's perspective.
  • DOM Simulation Rendering - Renders React components into a simulated browser document to verify actual HTML output.
  • DOM Testing Utilities - Provides utilities for querying and interacting with the DOM to verify accessibility and behavior.
  • DOM Validation - Checks that the correct HTML elements and text are rendered in response to specific application states.
  • Component Testing Frameworks - Provides a framework to render components and simulate interactions to verify functionality.
  • React Testing Utilities - Offers specialized helpers for rendering, querying, and interacting with React components during tests.
  • Testing Utilities - Verifies that React user interface components behave correctly by simulating real user interactions.
  • Event-Driven Interaction Handlers - Triggers synthetic DOM events to mimic real user behavior and verify interface changes.
  • Frontend Integration Testing - Validates how different React components interact and maintain accessibility compliance within a controlled environment.
  • Behavior-Driven Testing - Focuses tests on user-visible outcomes rather than internal implementation details.
  • Frameworks de test - Simple and complete React DOM testing utilities that encourage good testing practices.

Historique des stars

Graphique de l'historique des stars pour kentcdodds/react-testing-libraryGraphique de l'historique des stars pour kentcdodds/react-testing-library

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à React Testing Library

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec React Testing Library.
  • testing-library/react-testing-libraryAvatar de testing-library

    testing-library/react-testing-library

    19,606Voir sur GitHub↗

    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

    JavaScriptjavascriptreactjstesting
    Voir sur GitHub↗19,606
  • enzymejs/enzymeE

    enzymejs/enzyme

    19,831Voir sur GitHub↗

    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

    JavaScript
    Voir sur GitHub↗19,831
  • microsoft/playwrightAvatar de microsoft

    microsoft/playwright

    91,074Voir sur GitHub↗

    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

    TypeScriptautomationchromechromium
    Voir sur GitHub↗91,074
  • facebook/reactAvatar de facebook

    facebook/react

    245,669Voir sur GitHub↗

    React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional data flow.

    JavaScriptjavascriptuifrontend
    Voir sur GitHub↗245,669
Voir les 30 alternatives à React Testing Library→

Questions fréquentes

Que fait kentcdodds/react-testing-library ?

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.

Quelles sont les fonctionnalités principales de kentcdodds/react-testing-library ?

Les fonctionnalités principales de kentcdodds/react-testing-library sont : Implementation-Agnostic Querying, Node.js DOM Implementations, User Interaction Simulation, DOM Simulation Rendering, DOM Testing Utilities, DOM Validation, Component Testing Frameworks, React Testing Utilities.

Quelles sont les alternatives open-source à kentcdodds/react-testing-library ?

Les alternatives open-source à kentcdodds/react-testing-library incluent : testing-library/react-testing-library — React Testing Library is a testing framework for verifying React components by interacting with rendered output… enzymejs/enzyme — Enzyme is a testing utility for React components designed to verify their output and behavior in a test environment.… microsoft/playwright — Playwright is a comprehensive browser automation framework designed for end-to-end testing and web workflow… facebook/react — React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional… flutter-team-archive/plugins — This project is a collection of official plugin packages and a native integration library designed to provide a… tmpvar/jsdom — jsdom is a Node.js implementation of web standards that functions as a headless browser emulator. It provides a…