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

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

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

kentcdodds/react-testing-library

0
View on GitHub↗
19,606 نجوم·1,165 تفرعات·JavaScript·MIT·3 مشاهداتtesting-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.
  • أطر عمل الاختبار - Simple and complete React DOM testing utilities that encourage good testing practices.

سجل النجوم

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

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

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

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

Start searching with AI

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

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

    testing-library/react-testing-library

    19,606عرض على 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
    عرض على 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
  • facebook/reactالصورة الرمزية لـ facebook

    facebook/react

    245,669عرض على GitHub↗

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

    JavaScriptjavascriptuifrontend
    عرض على GitHub↗245,669
عرض جميع البدائل الـ 30 لـ 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 testing library that allows for the verification of rendered output and component functionality without accessing internal implementation details.

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

الميزات الرئيسية لـ kentcdodds/react-testing-library هي: Implementation-Agnostic Querying, Node.js DOM Implementations, User Interaction Simulation, DOM Simulation Rendering, DOM Testing Utilities, DOM Validation, Component Testing Frameworks, React Testing Utilities.

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

تشمل البدائل مفتوحة المصدر لـ kentcdodds/react-testing-library: 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…