awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
testing-library avatar

testing-library/react-testing-library

0
View on GitHub↗
19,606 نجوم·1,165 تفرعات·JavaScript·MIT·2 مشاهداتtesting-library.com/react↗

React Testing Library

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-specific CSS selectors.

The toolkit provides capabilities for asynchronous UI verification through mutation-based polling to synchronize tests with delayed state updates. It also includes utilities for event-driven interaction simulation to mimic human behavior and verify resulting interface changes.

Features

  • Frontend Integration Testing - Validates the interaction flow between React components and asynchronous state changes in a controlled environment.
  • Isolated Rendering Environments - Renders components in an isolated virtual DOM environment to enable fast execution within Node.js.
  • Accessibility Testing - Ensures web interfaces meet accessibility standards by validating them through user-perceivable labels and roles.
  • User Interaction Simulation - Replicates human input through synthetic DOM events to verify how components react to specific user behavior.
  • DOM Simulation Rendering - Renders components into a virtual document to verify behavior within a Node.js environment.
  • DOM Testing Utilities - Provides a comprehensive utility for querying and simulating user interactions within the document object model.
  • Component Mounting Utilities - Ships utilities to mount components into a virtual DOM for fast execution and verification in Node.js.
  • Implementation-Agnostic Querying - Locates DOM elements using accessibility markers and roles instead of internal implementation details like CSS selectors.
  • React Testing Utilities - Provides specialized helpers for rendering, querying, and interacting with React components to verify end-user behavior.
  • Accessibility Role Mapping - Provides utilities for locating UI elements using ARIA roles and accessibility labels to ensure inclusive interfaces.
  • Accessibility Query Engines - Implements a search system that locates UI elements via ARIA roles to ensure web accessibility standards.
  • Synthetic Event Bridges - Synthesizes low-level input events to mimic authentic human interactions within the browser environment.
  • DOM State Verification - Provides utilities to wait for elements to appear or change to synchronize tests with delayed data updates.
  • Asynchronous Polling Mechanisms - Provides polling mechanisms that repeatedly check the DOM for state changes to synchronize asynchronous tests.
  • React Ecosystem - Utilities for testing React components in a user-centric way.
  • Testing - Utilities for testing components from a user-centric perspective.
  • Testing and Quality Assurance - Testing utilities for React that encourage good practices.
  • Testing Utilities - Utilities for testing components from a user-centric perspective.
  • Web Frameworks - Testing utility for React components.

سجل النجوم

مخطط تاريخ النجوم لـ testing-library/react-testing-libraryمخطط تاريخ النجوم لـ testing-library/react-testing-library

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ React Testing Library

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع React Testing Library.
  • kentcdodds/react-testing-libraryالصورة الرمزية لـ kentcdodds

    kentcdodds/react-testing-library

    19,606عرض على GitHub↗

    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

    JavaScript
    عرض على GitHub↗19,606
  • enzymejs/enzymeE

    enzymejs/enzyme

    19,831عرض على 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
    عرض على GitHub↗19,831
  • microsoft/playwrightالصورة الرمزية لـ microsoft

    microsoft/playwright

    91,074عرض على 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
    عرض على GitHub↗91,074
  • testing-library/jest-domالصورة الرمزية لـ testing-library

    testing-library/jest-dom

    4,597عرض على GitHub↗

    jest-dom is a collection of custom matchers and assertions for Jest designed to validate HTML element states, accessibility, and document object model properties. It functions as a specialized toolkit for verifying the structural and visual state of web elements during automated testing. The library provides specialized functions for checking CSS classes, attributes, and form validity. It includes a suite of assertions to verify ARIA roles, accessible names, and compatibility with assistive technologies. Its capabilities cover the verification of element presence, visibility, and positioning

    JavaScript
    عرض على GitHub↗4,597
عرض جميع البدائل الـ 30 لـ React Testing Library→

الأسئلة الشائعة

ما هي وظيفة testing-library/react-testing-library؟

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.

ما هي الميزات الرئيسية لـ testing-library/react-testing-library؟

الميزات الرئيسية لـ testing-library/react-testing-library هي: Frontend Integration Testing, Isolated Rendering Environments, Accessibility Testing, User Interaction Simulation, DOM Simulation Rendering, DOM Testing Utilities, Component Mounting Utilities, Implementation-Agnostic Querying.

ما هي البدائل مفتوحة المصدر لـ testing-library/react-testing-library؟

تشمل البدائل مفتوحة المصدر لـ testing-library/react-testing-library: kentcdodds/react-testing-library — This project is a component testing framework and utility designed for testing React components. It functions as a DOM… 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… testing-library/jest-dom — jest-dom is a collection of custom matchers and assertions for Jest designed to validate HTML element states,… callstack/react-native-testing-library — This project is a testing framework designed for React Native applications, providing a suite of tools to render… teamcapybara/capybara — Capybara is a browser automation library and web application acceptance test framework used to simulate user behavior…