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

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

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

Test isolation tools

排名更新于 2026年7月16日

For test isolation utilities, the strongest matches are phpspec/prophecy (Prophecy is a specialized mocking and stubbing library for), sinonjs/sinon (Sinon is a dedicated JavaScript library for mocking, stubbing) and vitest-dev/vitest (Vitest is a comprehensive testing framework that provides built-in). google/googletest and jestjs/jest round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Find the best test isolation tools for your project. Compare top-rated open-source libraries by activity and features to pick the right one.

Test isolation tools

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • phpspec/prophecyphpspec 的头像

    phpspec/prophecy

    8,480在 GitHub 上查看↗

    Prophecy is a PHP mocking framework and test double library used to simulate object dependencies during unit testing. It serves as a behavioral testing tool for creating mocks, stubs, and dummies to isolate code and ensure predictable test results. The framework enables interaction verification by tracking method call counts and arguments to validate that specific interactions occurred. It supports defining specific return values or custom logic for method calls to simulate various execution scenarios. The library provides capabilities for argument matching based on type or value, interactio

    Prophecy is a specialized mocking and stubbing library for PHP that enables code isolation by creating test doubles, fulfilling the core requirement for unit testing frameworks.

    PHPMocking FrameworksTest Double ImplementationsTest Double Libraries
    在 GitHub 上查看↗8,480
  • sinonjs/sinonsinonjs 的头像

    sinonjs/sinon

    9,753在 GitHub 上查看↗

    Sinon is a JavaScript test double library and mocking framework used to isolate code and verify behavior during unit testing. It provides a collection of spies, stubs, and mocks that replace real function implementations and object methods with controlled substitutes. The project includes a specialized fake timer library for overriding the system clock, allowing the simulation of time progression to trigger timeouts and intervals without waiting for real-time delays. It also features a test sandbox mechanism to group multiple fakes together, ensuring the original state is restored between tes

    Sinon is a dedicated JavaScript library for mocking, stubbing, and spying that provides the core functionality needed to isolate code units from their dependencies during testing.

    JavaScriptDependency MockingMocking FrameworksTest Isolation
    在 GitHub 上查看↗9,753
  • vitest-dev/vitestvitest-dev 的头像

    vitest-dev/vitest

    15,970在 GitHub 上查看↗

    Vitest is a high-performance testing framework designed for JavaScript and TypeScript applications. It provides an integrated environment that supports unit, integration, and browser-based testing, allowing developers to execute test suites natively without requiring separate build steps or complex configuration. The project distinguishes itself through a highly optimized execution model that leverages worker-thread isolation and on-demand module transformation to provide rapid feedback. It includes a comprehensive suite of mocking and spying utilities that allow for the interception of depen

    Vitest is a comprehensive testing framework that provides built-in mocking, stubbing, and dependency isolation capabilities, making it a direct fit for your unit testing requirements.

    TypeScriptCode Coverage ReportingsCode Coverage ToolsDependency Mocking
    在 GitHub 上查看↗15,970
  • google/googletestgoogle 的头像

    google/googletest

    38,713在 GitHub 上查看↗

    This project is a comprehensive C++ unit testing framework designed to verify code logic and identify regressions through a suite of assertion macros, test fixtures, and execution runners. It automates the discovery and registration of test cases during static initialization, allowing developers to define isolated test environments that ensure repeatable and predictable conditions for every execution. The framework distinguishes itself through a sophisticated mock object library that enables the simulation of components and the enforcement of strict interaction requirements. By intercepting v

    This is a comprehensive C++ testing framework that includes a dedicated mock object library for dependency isolation, robust test fixtures for sandboxing, and full support for modern asynchronous testing and code coverage integration.

    C++Mocking FrameworksTest Isolation
    在 GitHub 上查看↗38,713
  • jestjs/jestjestjs 的头像

    jestjs/jest

    45,448在 GitHub 上查看↗

    Jest is a JavaScript testing framework designed for writing and running automated test suites to verify the correctness of JavaScript and TypeScript code. It functions as a comprehensive toolset that integrates a test runner, a mocking and spying library, a snapshot testing tool, and a code coverage tool. The framework distinguishes itself through snapshot testing, which records the serialized state of data structures to detect regressions in future executions. It also includes a mocking and spying library for simulating external dependencies and tracking function calls to isolate code during

    Jest is a comprehensive JavaScript testing framework that provides built-in mocking, stubbing, and code coverage analysis, making it a flagship tool for isolating code units from their dependencies.

    TypeScriptCode Coverage ToolsDependency Mocking
    在 GitHub 上查看↗45,448
  • mockito/mockitomockito 的头像

    mockito/mockito

    15,432在 GitHub 上查看↗

    Mockito is a Java mocking framework and JUnit testing library used to create simulated objects and stub method calls to isolate components during unit tests. It functions as a dynamic proxy generator and bytecode instrumentation tool, allowing for the creation of runtime substitutes that mimic the behavior of real classes. The framework distinguishes itself by providing the ability to mock final classes and methods, bypassing standard language restrictions through bytecode modification. This capability enables the testing of legacy code that lacks interfaces. The toolset covers behavioral mo

    Mockito is a comprehensive Java mocking framework that provides robust stubbing and interaction verification to isolate code units from their dependencies, fulfilling the core requirements for unit test isolation.

    JavaMocking Frameworks
    在 GitHub 上查看↗15,432
  • stretchr/testifystretchr 的头像

    stretchr/testify

    25,861在 GitHub 上查看↗

    Testify is a comprehensive testing toolkit for Go that provides a suite of assertion libraries and mocking frameworks to validate code behavior. It enables developers to write automated tests by comparing actual results against expected outcomes, ensuring that functional requirements are met throughout the development process. The project distinguishes itself through its flexible failure propagation, which allows tests to either halt execution immediately upon a failed requirement or return boolean results for conditional logic. It includes deep-equality object comparison and JSON normalizati

    Testify is a comprehensive testing toolkit for Go that provides robust mocking, stubbing, and assertion capabilities, making it a standard choice for isolating code units during testing.

    GoMocking FrameworksTest Isolation
    在 GitHub 上查看↗25,861
  • pester/pesterpester 的头像

    pester/Pester

    3,262在 GitHub 上查看↗

    Pester is a PowerShell testing framework and behavior-driven development tool used to write and run automated tests for scripts and modules. It defines and verifies software behavior through human-readable specifications to validate that code behaves as expected. The project includes a native mocking library that replaces real functions and commands with controlled implementations, allowing for the isolation of code and verification of command invocations without altering the system environment. It also functions as a code coverage tool that measures the percentage of executed lines during te

    Pester is a comprehensive testing and mocking framework for PowerShell that provides native support for dependency isolation, function replacement, and code coverage analysis.

    PowerShellCode Coverage AnalysisCode Coverage ToolsDependency Mocking
    在 GitHub 上查看↗3,262
  • pytest-dev/pytestpytest-dev 的头像

    pytest-dev/pytest

    13,645在 GitHub 上查看↗

    pytest is a testing framework for Python that provides a command-line runner for discovering and executing test suites. It is built on a modular architecture that uses standard language assertions to verify code correctness, automatically inspecting expressions to provide detailed failure reports without requiring specialized assertion methods. The framework distinguishes itself through a dependency injection system that manages setup and teardown logic by automatically resolving and injecting resources into test functions. It also features a hook-based plugin architecture that allows for dee

    pytest is a comprehensive testing framework that provides a robust dependency injection system via its fixture architecture and supports extensive mocking and stubbing through its vast ecosystem of plugins, making it a flagship tool for isolating code units.

    PythonDependency InjectionTest Isolation
    在 GitHub 上查看↗13,645
  • mockery/mockerymockery 的头像

    mockery/mockery

    10,724在 GitHub 上查看↗

    Mockery is a PHP framework designed for creating test doubles, stubs, and spies to facilitate isolated unit testing. It serves as a utility for simulating class behavior, intercepting method calls, and validating arguments, allowing developers to replace real dependencies with mock objects to verify that code components interact as intended. The framework distinguishes itself through advanced capabilities for handling complex testing scenarios, such as bypassing constructors, mocking protected methods, and intercepting static calls or internal object instantiations. It provides a fluent inter

    Mockery is a specialized PHP framework for creating test doubles and stubs that enables effective unit test isolation, though it functions as a mocking utility rather than a comprehensive testing suite that includes built-in code coverage or sandbox environments.

    PHPDependency MockingMocking Frameworks
    在 GitHub 上查看↗10,724
  • 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

    Ava is a concurrent test runner that provides the necessary isolation and asynchronous support for unit testing, though it relies on external libraries for advanced mocking and stubbing capabilities.

    JavaScriptCode Coverage AnalysisCode Coverage ReportingsTest Isolation
    在 GitHub 上查看↗20,849
  • keploy/keploykeploy 的头像

    keploy/keploy

    17,622在 GitHub 上查看↗

    Keploy is an automated testing platform that leverages kernel-level traffic interception to generate and maintain regression test suites for microservices. By capturing live network traffic and system calls via eBPF, the platform automatically creates deterministic test cases and mocks external dependencies without requiring manual code instrumentation. This approach allows developers to validate application behavior and API contracts by replaying production-like traffic in isolated environments. The platform distinguishes itself through its use of machine learning to perform test maintenance

    Keploy is an automated testing platform that isolates services by capturing and replaying network traffic and system calls, effectively providing mocking and dependency isolation without manual instrumentation.

    GoDependency MockingTest Isolation
    在 GitHub 上查看↗17,622
  • moq/moq4Moq 的头像

    Moq/moq4

    6,387在 GitHub 上查看↗

    Moq4 is a .NET mocking framework used to create simulated implementations of interfaces and abstract classes. It serves as a test double generator and behavior verification tool, allowing developers to isolate code during unit testing by replacing real dependencies with programmed mocks. The framework enables the definition of expected method behaviors and return values to control the execution flow of tests. It provides specialized capabilities for simulating methods that use output or reference parameters and mechanisms to monitor and trigger events on simulated objects. The library includ

    Moq4 is a dedicated mocking and stubbing library for .NET that enables code isolation by replacing dependencies with dynamic test doubles, fitting the core requirement for a unit testing framework.

    C#Test Double Libraries
    在 GitHub 上查看↗6,387
  • 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

    QUnit is a JavaScript unit testing framework that provides the necessary lifecycle hooks and asynchronous test orchestration to isolate code units, though it lacks built-in mocking and dependency injection capabilities found in more specialized mocking frameworks.

    JavaScriptCode Coverage AnalysisTest Isolation
    在 GitHub 上查看↗4,035
  • powermock/powermockpowermock 的头像

    powermock/powermock

    4,174在 GitHub 上查看↗

    Powermock is a Java mocking framework and unit testing tool that uses bytecode manipulation to mock static methods, final classes, and private constructors. It includes a Java agent instrumentation tool and a reflection-based testing utility to bypass encapsulation and modify class behavior at runtime. The project distinguishes itself by providing the ability to intercept the instantiation of objects via the new keyword and simulate the behavior of core Java system classes and native methods. It can override final modifiers on classes and methods and bypass signature restrictions for classes

    PowerMock is a specialized Java mocking framework that enables unit test isolation by allowing you to mock static methods, final classes, and private constructors that standard frameworks cannot reach.

    JavaMocking Frameworks
    在 GitHub 上查看↗4,174
  • junit-team/junit-frameworkjunit-team 的头像

    junit-team/junit-framework

    7,032在 GitHub 上查看↗

    This project is a JVM testing framework that provides a foundation for defining and running automated tests using a pluggable engine architecture. It functions as a JVM test orchestrator and a modular test engine API, allowing multiple testing engines to be grouped and executed as a single coordinated unit. The framework includes a platform launcher for discovering and executing test suites from build systems, integrated development environments, or the command line. It enables the creation of custom testing frameworks through a standardized interface that integrates into a shared execution p

    JUnit is a foundational testing framework that provides the necessary infrastructure for test execution and lifecycle management, though it requires integration with separate mocking libraries to achieve full dependency isolation.

    JavaTest Isolation
    在 GitHub 上查看↗7,032
  • 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

    TUnit is a comprehensive C# testing framework that provides built-in mocking, stubbing, and lifecycle management for isolated unit and integration testing, fitting the requirements for a modern test isolation tool.

    C#Code Coverage AnalysisDependency InjectionMocking Frameworks
    在 GitHub 上查看↗3,744
  • 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

    This framework provides the necessary tools to isolate React Native components from their dependencies and simulate user interactions, serving as a specialized testing utility for component-level isolation.

    TypeScriptTest Isolation
    在 GitHub 上查看↗3,390
  • catchorg/catch2catchorg 的头像

    catchorg/Catch2

    20,198在 GitHub 上查看↗

    Catch2 is a comprehensive framework for C++ software validation, providing an environment for unit testing, integration verification, and performance analysis. It enables developers to define and execute automated test suites and micro-benchmarks directly within their applications. The framework is distinguished by its header-only distribution, which allows for integration into existing build systems without requiring complex external dependencies. It utilizes a hierarchical section-based execution model that supports behavior-driven testing, allowing for shared setup and teardown logic acros

    Catch2 is a comprehensive C++ unit testing framework that provides the necessary infrastructure for test execution and assertion, though it relies on external tools or manual patterns for advanced mocking and dependency isolation.

    C++Unit Testing FrameworksHeader-Only LibrariesPerformance Benchmarking
    在 GitHub 上查看↗20,198
  • testcontainers/testcontainers-javatestcontainers 的头像

    testcontainers/testcontainers-java

    8,660在 GitHub 上查看↗

    Testcontainers for Java is a library for launching and managing disposable Docker containers to provide isolated dependencies for automated tests. It provides specialized provisioners for containerized databases, a manager for WebDriver browser containers, and an orchestrator for deploying multi-container applications via Docker Compose. The project ensures reproducible data states through database schema initialization and provides integration with JUnit to manage the lifecycle of external services. It supports automated browser testing by launching Selenium containers with the ability to re

    This library provides isolated, disposable environments for integration testing by managing Docker containers, which serves as a robust way to isolate code units from external dependencies like databases and browsers.

    JavaContainer Management ToolsEphemeral Testing EnvironmentsAutomated Testing Containers
    在 GitHub 上查看↗8,660
  • xunit/xunitxunit 的头像

    xunit/xunit

    4,535在 GitHub 上查看↗

    xunit is a unit testing framework for the .NET ecosystem designed to execute isolated code units and report failures across multiple platforms. It functions as a data-driven test runner and a native AOT test suite, capable of verifying compiled binaries and standalone executables after ahead-of-time compilation. The framework utilizes build-time source generators for test discovery to define test cases without relying on runtime reflection. It also features an extensible reporting system where custom logic can be linked into test assemblies to output results in specialized formats. The proje

    xUnit is a comprehensive unit testing framework for the .NET ecosystem that provides the necessary infrastructure for isolated test execution, though it relies on external libraries like Moq or NSubstitute for advanced mocking and stubbing capabilities.

    C#Unit Testing.NET Testing EcosystemAOT Binary Testing
    在 GitHub 上查看↗4,535
  • spockframework/spockspockframework 的头像

    spockframework/spock

    3,627在 GitHub 上查看↗

    The Enterprise-ready testing and specification framework.

    Spock is a powerful testing and specification framework for Java that provides built-in mocking, stubbing, and dependency injection support, making it a standard tool for isolating code units during testing.

    JavaTesting Frameworks
    在 GitHub 上查看↗3,627
  • nsubstitute/nsubstitutensubstitute 的头像

    nsubstitute/NSubstitute

    2,955在 GitHub 上查看↗

    A friendly substitute for .NET mocking libraries.

    This is a dedicated mocking and stubbing library for .NET that enables unit test isolation by allowing you to easily substitute dependencies, though it relies on the host test runner for features like code coverage and sandboxing.

    C#TestingTesting Frameworks
    在 GitHub 上查看↗2,955
  • nunit/nunitnunit 的头像

    nunit/nunit

    2,621在 GitHub 上查看↗

    NUnit Framework

    NUnit is a comprehensive unit testing framework for .NET that provides the core capabilities for mocking, stubbing, and asynchronous test execution required to isolate code units.

    C#Testing Frameworks
    在 GitHub 上查看↗2,621
  • fakeiteasy/fakeiteasyFakeItEasy 的头像

    FakeItEasy/FakeItEasy

    1,830在 GitHub 上查看↗

    The easy mocking library for .NET

    This is a mocking and stubbing library for .NET that enables code isolation by allowing you to create fake objects for dependencies, directly addressing the core requirement for unit test isolation.

    C#TestingTesting Frameworks
    在 GitHub 上查看↗1,830
  • easymock/easymockeasymock 的头像

    easymock/easymock

    830在 GitHub 上查看↗

    EasyMock, makes mocking easier since 2001

    EasyMock is a mature Java-based mocking framework that provides the core capability of creating mock objects to isolate code units from their dependencies, though it lacks built-in features like code coverage analysis or sandbox environments.

    HTMLTesting Frameworks
    在 GitHub 上查看↗830
  • unittest-cpp/unittest-cppunittest-cpp 的头像

    unittest-cpp/unittest-cpp

    583在 GitHub 上查看↗

    A lightweight unit testing framework for C++

    This is a lightweight unit testing framework for C++ that provides the core functionality for isolating code units, though it lacks built-in mocking and advanced dependency injection features found in more comprehensive suites.

    C++Testing and Debugging
    在 GitHub 上查看↗583
  • junit-team/junit5J

    junit-team/junit5

    0在 GitHub 上查看↗

    JUnit 5 is a foundational testing framework for the Java ecosystem that provides the core infrastructure for mocking, stubbing, and executing isolated unit tests with support for asynchronous code.

    Android Libraries
    在 GitHub 上查看↗0
  • rspec/rspec-mocksrspec 的头像

    rspec/rspec-mocks

    1,148在 GitHub 上查看↗

    This project is a Ruby unit testing tool designed for dependency isolation and behavioral contract verification. It functions as a comprehensive mocking framework that allows developers to replace real objects with controlled placeholders, ensuring that code interacts with its dependencies as expected during automated test execution. The framework distinguishes itself through its ability to perform partial double verification, which checks that stubbed methods exist on the underlying object to prevent tests from passing against incorrect interfaces. It also provides sophisticated constant man

    This is a dedicated mocking and stubbing framework for Ruby that provides the core isolation capabilities required for unit testing, though it functions as a library rather than a full-featured sandbox environment.

    RubyTest Double Libraries
    在 GitHub 上查看↗1,148
  • vuejs/vue-test-utilsvuejs 的头像

    vuejs/vue-test-utils

    3,544在 GitHub 上查看↗

    Vue Test Utils is a testing library designed for the Vue framework that provides a suite of tools for mounting, interacting with, and asserting the state and output of user interface components. It functions as a JavaScript unit testing tool, enabling developers to verify component logic, rendered structure, and dynamic behavior within an automated test environment. The library distinguishes itself through its ability to isolate components during testing, allowing for shallow rendering that replaces child components with stubs to prevent external dependencies from influencing results. It prov

    This is a specialized testing utility library designed for isolating and testing Vue components, providing the necessary mocking and stubbing capabilities to decouple components from their dependencies.

    JavaScriptDependency Mocking
    在 GitHub 上查看↗3,544
  • uber-go/mockuber-go 的头像

    uber-go/mock

    3,375在 GitHub 上查看↗

    This project is a framework for generating mock implementations of interfaces to isolate dependencies and verify method interactions during unit testing in Go. It provides tools to simulate external dependencies by creating controlled mock objects, allowing developers to test components in isolation without requiring real service connections. The library distinguishes itself through its use of static interface reflection to generate type-safe mock structures during the build process. It features a fluent assertion API that enables developers to define expected method calls, validate arguments

    GoMock is a dedicated mocking framework for Go that provides the core functionality for stubbing and mocking dependencies to isolate code units during testing.

    GoGo InterfaceCompile-Time Mock GenerationDependency-Mocked Unit Testers
    在 GitHub 上查看↗3,375
  • clean-test/clean-testclean-test 的头像

    clean-test/clean-test

    54在 GitHub 上查看↗

    A modern C++-20 testing framework.

    This is a C++20 testing framework that provides the core capabilities for unit testing and isolation, though it lacks the extensive feature set of a comprehensive mocking suite.

    C++Testing Frameworks
    在 GitHub 上查看↗54
  • test-bench/test-benchtest-bench 的头像

    test-bench/test-bench

    73在 GitHub 上查看↗

    Principled Test Framework for Ruby and MRuby

    This is a unit testing framework for Ruby that provides the core capabilities for isolating code through dependency injection and stubbing, though it lacks built-in features like code coverage analysis or sandboxing.

    ShellTesting
    在 GitHub 上查看↗73
  • notorious-coding/notorious-testNotorious-Coding 的头像

    Notorious-Coding/Notorious-Test

    12在 GitHub 上查看↗

    Clean, isolated, and maintainable integration testing for .NET

    This is a .NET testing framework designed specifically for isolated integration testing, providing the necessary infrastructure to manage dependencies and test code units in a controlled environment.

    C#Testing Frameworks
    在 GitHub 上查看↗12
  • testing-library/react-hooks-testing-librarytesting-library 的头像

    testing-library/react-hooks-testing-library

    5,266在 GitHub 上查看↗

    This project is a specialized test harness and mocking utility designed for unit testing React hooks in isolation. It provides a simulated component environment that executes hook logic and tracks returned values without requiring a full user interface. The library enables the verification of hook lifecycles, including mounting, updating, and unmounting phases. It features mechanisms for injecting properties to force re-renders and an asynchronous waiting system to ensure state updates are processed before assertions are run. The toolset covers state management verification, automated lifecy

    This library provides a specialized test harness for isolating and testing React hooks, offering the necessary mocking and asynchronous support to verify logic without a full UI.

    TypeScriptCustom Hook TestingHook Execution WrappersAsynchronous Polling Mechanisms
    在 GitHub 上查看↗5,266
  • testing-library/svelte-testing-librarytesting-library 的头像

    testing-library/svelte-testing-library

    661在 GitHub 上查看↗

    Svelte Testing Library

    This library provides utilities for testing Svelte components by simulating user interactions and isolating them from implementation details, which aligns with the core requirements for unit testing and mocking dependencies in a component-based environment.

    JavaScriptDeveloper Tools
    在 GitHub 上查看↗661
  • 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

    Tape is a lightweight test framework for Node.js that provides isolated test harnesses and method interception spies, making it a suitable tool for unit testing with dependency isolation.

    JavaScriptJavaScript Test FrameworksAssertion CountersAsynchronous Test Execution
    在 GitHub 上查看↗5,802
一览前 10 名对比
仓库Star 数语言许可证最后推送
phpspec/prophecy8.5KPHPMIT2026年4月13日
sinonjs/sinon9.8KJavaScriptNOASSERTION2026年6月18日
vitest-dev/vitest16KTypeScriptmit2026年2月19日
google/googletest38.7KC++BSD-3-Clause2026年6月16日
jestjs/jest45.4KTypeScriptMIT2026年6月16日
mockito/mockito15.4KJavaMIT2026年6月15日
stretchr/testify25.9KGomit2026年2月17日
pester/pester3.3KPowerShellother2026年1月29日
pytest-dev/pytest13.6KPythonmit2026年2月18日
mockery/mockery10.7KPHPBSD-3-Clause2026年5月20日

Related searches

  • Kernel isolation sandbox
  • 自定义 React Hooks 库
  • a library for browser automation and scraping
  • an automated tool for testing SQL injection
  • a library for dynamic test registration
  • a tool for managing project development environments
  • Code execution sandbox
  • 自动化软件测试工具