awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Back to testing-library/react-hooks-testing-library

Open-source alternatives to React Hooks Testing Library

30 open-source projects similar to testing-library/react-hooks-testing-library, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best React Hooks Testing Library alternative.

  • callstack/react-native-testing-librarycallstack 的头像

    callstack/react-native-testing-library

    3,390在 GitHub 上查看↗

    This project is a testing framework designed for React Native applications, providing a suite of tools to render components in a controlled memory environment. It enables developers to verify the behavior and structure of mobile interfaces by simulating user interactions and monitoring component lifecycle transitions. By isolating components from the rest of the application, it ensures that tests remain stable and independent. The framework distinguishes itself through an accessibility-first approach, prioritizing user-facing attributes like roles, labels, and text content when querying the c

    TypeScriptjestreactreact-native
    在 GitHub 上查看↗3,390
  • avajs/avaavajs 的头像

    avajs/ava

    20,849在 GitHub 上查看↗

    Ava is a test runner for JavaScript and TypeScript designed to execute test suites with a focus on concurrency and isolation. It serves as a concurrent test executor that runs test files in parallel across multiple processes to reduce total runtime and prevent state leakage between suites. The project features a built-in snapshot testing framework that saves large data structures to disk and compares subsequent executions to detect regressions via diffs. It is also compatible with the Test Anything Protocol, allowing it to export results for use with external reporting tools. Its capability

    JavaScriptassertasyncasync-functions
    在 GitHub 上查看↗20,849
  • thomhurst/tunitthomhurst 的头像

    thomhurst/TUnit

    3,744在 GitHub 上查看↗

    TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source generation for test discovery and mock creation, ensuring compatibility with Native AOT and IL trimming by eliminating the need for runtime reflection and proxies. The framework provides specialized capabilities for integration testing, including the management of distributed application lifecycles, isolated database schemas, and the correlation of telemetry and logs across process boundaries via OTLP. It also includes an HTTP testing utility to intercept network exchanges and mock AP

    C#csharpdotnettest
    在 GitHub 上查看↗3,744

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Find more with AI search
  • onsi/ginkgoonsi 的头像

    onsi/ginkgo

    9,014在 GitHub 上查看↗

    Ginkgo is a behavior-driven development testing framework, assertion library, and test runner for Go. It provides a domain-specific language for writing human-readable specifications, organizing tests into hierarchical containers and subjects to describe system behavior. The project distinguishes itself through advanced execution control and observability, featuring a test runner capable of parallel distribution, sharding, and randomized execution order to detect flaky tests. It includes specialized diagnostic tools for goroutine leak detection, hanging spec monitoring, and failure state debu

    Go
    在 GitHub 上查看↗9,014
  • uber-go/goleakuber-go 的头像

    uber-go/goleak

    5,219在 GitHub 上查看↗

    Goleak is a diagnostic utility designed to identify and report leaked goroutines within Go applications. By integrating directly with standard testing frameworks, it validates that background tasks terminate correctly after the completion of individual test cases, packages, or entire test suites. The tool functions by capturing snapshots of active execution threads and comparing them against a baseline to isolate newly spawned processes. To ensure accuracy and reduce noise, it provides mechanisms to filter specific stack traces, ignore known background tasks, and perform retries to account fo

    Go
    在 GitHub 上查看↗5,219
  • jnicklas/capybarajnicklas 的头像

    jnicklas/capybara

    10,166在 GitHub 上查看↗

    Capybara is a browser automation testing library and framework for web application acceptance testing. It provides a high-level API for automating browser navigation and element interaction to validate user-facing features. The project features a cross-browser driver interface that allows switching between headless and full browser environments without modifying the underlying test code. This abstraction enables the simulation of complex web workflows across different browser drivers and environments. The suite covers user interaction simulation, including form filling, click events, and bro

    Ruby
    在 GitHub 上查看↗10,166
  • awaitility/awaitilityawaitility 的头像

    awaitility/awaitility

    4,013在 GitHub 上查看↗

    Awaitility is a Java asynchronous testing library and conditional polling framework. It provides a fluent domain-specific language to synchronize tests with asynchronous operations by polling for specific states or conditions. The library allows for the configuration of polling intervals, timeouts, and the assignment of specific threads or services to handle background polling. It includes mechanisms for deadlock detection, exception filtering to treat specific errors as false results, and the ability to fail fast when a prohibited condition is met. The framework covers state verification, i

    Java
    在 GitHub 上查看↗4,013
  • testing-library/react-testing-librarytesting-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
  • tape-testing/tapetape-testing 的头像

    tape-testing/tape

    5,802在 GitHub 上查看↗

    Tape is a TAP-producing test framework for Node.js that provides assertions, spies, subtests, and isolated test harnesses. It functions as both a test runner and an assertion library, outputting results in the Test Anything Protocol format for machine or human consumption. The framework manages test execution through callback-based async control, plan-based auto termination, and subtest stack isolation. It includes a spy wrapper system that replaces object methods with call-recording wrappers that restore originals during teardown, along with a teardown callback registry that collects and exe

    JavaScript
    在 GitHub 上查看↗5,802
  • jasmine/jasminejasmine 的头像

    jasmine/jasmine

    15,824在 GitHub 上查看↗

    Jasmine is a JavaScript testing framework and test runner designed for behavior-driven development. It provides a comprehensive toolset for writing and executing descriptive test suites that verify code behavior in both web browsers and Node.js environments. The framework is distinguished by its integrated mocking library, which allows for dependency isolation through spies and stubs, as well as the ability to simulate time and timing functions to test asynchronous logic synchronously. It also includes a mechanism to enforce test uniqueness, preventing duplicate names for tests and suites. I

    JavaScript
    在 GitHub 上查看↗15,824
  • 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
  • substack/tapesubstack 的头像

    substack/tape

    5,800在 GitHub 上查看↗

    Tape is a JavaScript testing framework and assertion library that serves as a test runner for Node.js and browser environments. It implements the Test Anything Protocol to provide a standardized, machine-readable format for test results. The project functions as a cross-environment test harness, allowing the same test suites to be executed across both server-side and client-side environments while maintaining a consistent output protocol. Its capabilities include validating value equality and truthiness, verifying exception handling, and coordinating asynchronous workflows. The framework als

    JavaScript
    在 GitHub 上查看↗5,800
  • jquery/qunitjquery 的头像

    jquery/qunit

    4,035在 GitHub 上查看↗

    QUnit is a JavaScript unit testing framework designed to verify code behavior using assertions and lifecycle hooks across browsers and server runtimes. It functions as a browser-based test runner with an HTML interface for reporting results, an asynchronous test orchestrator for coordinating callbacks, and a utility for isolating and verifying document object model changes. The framework distinguishes itself through specialized DOM testing capabilities, allowing for the isolation and resetting of the document object model between tests to ensure atomicity. It also features a system for detect

    JavaScript
    在 GitHub 上查看↗4,035
  • sstephenson/batssstephenson 的头像

    sstephenson/bats

    7,107在 GitHub 上查看↗

    BATS is a testing framework and verification tool designed for Bash scripts and Unix programs. It serves as a test runner that validates the behavior of command line utilities by verifying exit statuses and command output. The framework functions as a TAP compliant test runner, producing output that follows the Test Anything Protocol for integration with reporting tools and continuous integration pipelines. The tool provides test automation capabilities including isolated test execution in separate subprocesses and lifecycle management via setup and teardown functions. It covers result aggre

    Shell
    在 GitHub 上查看↗7,107
  • didi/mpxdidi 的头像

    didi/mpx

    3,905在 GitHub 上查看↗

    MPX is a cross-platform framework designed to build applications for multiple mini-program ecosystems and the web from a single codebase. It utilizes a static transpilation pipeline to transform source code into platform-specific bundles, employing a single-file component system that encapsulates templates, logic, and styles. The framework provides a reactive state management system that automatically synchronizes application data with the user interface through computed properties and watchers. The project distinguishes itself through a robust build-time toolchain that supports sub-package p

    JavaScript
    在 GitHub 上查看↗3,905
  • microsoft/playwrightmicrosoft 的头像

    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
  • greatfrontend/top-reactjs-interview-questionsgreatfrontend 的头像

    greatfrontend/top-reactjs-interview-questions

    5,691在 GitHub 上查看↗

    This project is a comprehensive interview preparation guide and technical study resource for React. It functions as a frontend engineering curriculum and coding challenge bank designed to help developers master the internal mechanics, patterns, and core fundamentals of the React ecosystem. The resource distinguishes itself by providing a curated collection of technical interview questions, conceptual quizzes, and expert solutions. It includes a bank of coding challenges that can be solved in a browser-based environment with automated test cases and real-time rendering, as well as research int

    MDXfront-end-developmentinterviewsjavascript
    在 GitHub 上查看↗5,691
  • kdchang/reactjs101kdchang 的头像

    kdchang/reactjs101

    4,343在 GitHub 上查看↗

    This project is a comprehensive instructional resource and tutorial guide for learning React and the broader frontend engineering ecosystem. It serves as a structured course covering the fundamentals of building user interfaces through component-based architecture. The project provides specialized guides on coordinating application data via Redux state management, integrating and mutating data using GraphQL and Relay, and building native mobile applications using a single codebase. It also includes a dedicated tutorial for verifying component behavior through unit testing, shallow rendering,

    JavaScriptandriodecmascriptecmascript2015
    在 GitHub 上查看↗4,343
  • mobile-dev-inc/maestromobile-dev-inc 的头像

    mobile-dev-inc/Maestro

    10,788在 GitHub 上查看↗

    Maestro is a declarative mobile and web UI automation framework designed for end-to-end testing. It operates by querying the native accessibility tree of an application, allowing for black-box testing without requiring source code instrumentation or platform-specific dependencies. The framework distinguishes itself through a unified command syntax that abstracts interactions across Android, iOS, and web environments. It features a dynamic synchronization engine that automatically pauses test execution to account for non-deterministic animations and network-dependent content loading, ensuring

    Kotlinandroidblackbox-testingios
    在 GitHub 上查看↗10,788
  • kentcdodds/react-testing-librarykentcdodds 的头像

    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
  • quick/nimbleQuick 的头像

    Quick/Nimble

    4,841在 GitHub 上查看↗

    Nimble is a matcher framework and assertion library designed for Swift and Objective-C unit tests. It extends standard testing frameworks to provide a domain-specific language for writing descriptive and readable assertions. The project provides utilities for behavior driven development and asynchronous state verification. This includes the ability to wait for expressions to match specific values over a set period of time to verify timing-dependent behavior. The framework covers general test automation and validation for Swift and Objective-C projects, allowing developers to compare code exp

    Swiftasynchronous-expectationsbddfailure-messages
    在 GitHub 上查看↗4,841
  • react-cosmos/react-cosmosreact-cosmos 的头像

    react-cosmos/react-cosmos

    8,665在 GitHub 上查看↗

    React Cosmos is an isolated component workbench and sandbox for building and testing React UI components separately from the rest of an application. It serves as a UI component library tool used to document and visualize various states and variations of user interface elements. The project enables the development of components in isolation to decouple UI elements from complex application state and business logic. This environment supports React UI prototyping, UI component testing, and visual regression workflows to ensure consistent behavior across different states. The tool provides capabi

    TypeScriptcomponentsdevtoolsreact
    在 GitHub 上查看↗8,665
  • linux-test-project/ltplinux-test-project 的头像

    linux-test-project/ltp

    2,565在 GitHub 上查看↗

    The Linux Test Project (LTP) is a comprehensive test suite and framework for validating the reliability, robustness, and stability of the Linux kernel. It provides a structured environment for writing, building, and executing kernel tests, covering system call validation, network protocol testing, KVM virtualization testing, and kernel security regression testing through CVE reproduction. The project includes a kernel-test harness framework with dedicated C and shell APIs for writing self-contained test cases, along with an Autotools-based build system that handles cross-compilation and kerne

    Cclibclinux
    在 GitHub 上查看↗2,565
  • sapegin/jest-cheat-sheetsapegin 的头像

    sapegin/jest-cheat-sheet

    5,428在 GitHub 上查看↗

    This project is a comprehensive reference guide and cheat sheet for the Jest testing framework. It provides technical documentation and syntax examples for writing JavaScript unit tests, focusing on assertions, mocking strategies, and test suite configuration. The resource details specific methods for dependency isolation and mocking, including the use of fake timers, module-level substitutions, and function call verification. It also covers specialized workflows such as snapshot testing to detect regressions via serialized output comparisons. The guide further addresses asynchronous test pa

    cheatsheetjesttesting
    在 GitHub 上查看↗5,428
  • airbnb/enzymeairbnb 的头像

    airbnb/enzyme

    19,831在 GitHub 上查看↗

    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.

    JavaScript
    在 GitHub 上查看↗19,831
  • facebook/create-react-appfacebook 的头像

    facebook/create-react-app

    103,325在 GitHub 上查看↗

    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

    JavaScript
    在 GitHub 上查看↗103,325
  • skidding/cosmosskidding 的头像

    skidding/cosmos

    8,665在 GitHub 上查看↗

    Cosmos is a UI component sandbox and development tool used for building and testing user interface elements in isolation from main application logic. It serves as a frontend design system tool and a modular prototyping environment for verifying the visual behavior and functionality of reusable interface components. The tool provides a dedicated workspace for iterating on visual elements and their states without requiring a full application deployment. This environment supports a frontend design system workflow by allowing components to be developed and documented independently before project

    TypeScript
    在 GitHub 上查看↗8,665
  • solana-foundation/anchorsolana-foundation 的头像

    solana-foundation/anchor

    5,090在 GitHub 上查看↗

    Anchor is a framework for building, testing, and deploying Solana smart contracts. It provides a Rust domain-specific language (DSL) that uses macro‑based instruction dispatch and derive‑macro account validation to automate ownership checks, discriminator enforcement, and serialization before instruction execution. The framework also includes a CLI toolchain for scaffolding, compiling, and managing contracts across workspaces, a test harness that simulates program execution with account manipulation and compute unit benchmarking, and an IDL generator that emits a standardized JSON interface fr

    Rustblockchaincoralrust
    在 GitHub 上查看↗5,090
  • teamcapybara/capybarateamcapybara 的头像

    teamcapybara/capybara

    10,166在 GitHub 上查看↗

    Capybara is a browser automation library and web application acceptance test framework used to simulate user behavior and verify functional requirements. It serves as a cross-browser testing tool and headless browser orchestrator, allowing for the execution of test suites across multiple browser engines. The project provides a driver-agnostic interaction layer that abstracts different browser engines, enabling users to switch between headless and full browser drivers. It supports multi-user session simulation by maintaining independent browser states and cookies to test interactions between i

    Ruby
    在 GitHub 上查看↗10,166
  • web-platform-tests/wptweb-platform-tests 的头像

    web-platform-tests/wpt

    5,951在 GitHub 上查看↗
    HTMLblinkbrowserdom
    在 GitHub 上查看↗5,951