Stub

Top 22 Stub Open-Source Projects

  • Mockery

    Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

  • Sinon.JS

    Test spies, stubs and mocks for JavaScript.

  • Project mention: Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration | dev.to | 2024-03-03

    If you are using a mocking library, such as sinon, jest-mock, or ts-mockito, make sure that it is compatible with Jest. You may need to install additional packages or configure them in your configuration file. For example, to use sinon with Jest, you can install the sinon-jest package and add the following to your configuration file:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • OHHTTPStubs

    Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!

  • typeshed

    Collection of library stubs for Python, with static types

  • Project mention: What's the point of using `Any` in Union, such as `str | Any` | /r/learnpython | 2023-08-17

    "csv.pyi is from VS Code Pylance extension" is misleading. Yes, it's included in the code base of the extension, but it's likely originally from python/typeshed. I diffed csv.pyi in the extension and the repository, and they're exactly the same.

  • Cuckoo

    Boilerplate-free mocking framework for Swift! (by Brightify)

  • Project mention: Tests Everywhere - Swift | dev.to | 2023-12-12

    Swift testing this simple Hello World with XCTest and Cuckoo

  • mocha

    Mocha is a mocking and stubbing library for Ruby (by freerange)

  • amber

    Reflective PE packer. (by EgeBalci)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ts-mockito

    Mocking library for TypeScript

  • Project mention: Unit Testing in Node.js and TypeScript: A Comprehensive Guide with Jest Integration | dev.to | 2024-03-03

    If you are using a mocking library, such as sinon, jest-mock, or ts-mockito, make sure that it is compatible with Jest. You may need to install additional packages or configure them in your configuration file. For example, to use sinon with Jest, you can install the sinon-jest package and add the following to your configuration file:

  • SwiftMockGeneratorForXcode

    An Xcode extension (plugin) to generate Swift test doubles automatically.

  • DeepfakeHTTP

    DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.

  • Phake

    PHP Mocking Framework

  • mimic

    A mocking library for Elixir (by edgurgel)

  • SBTUITestTunnel

    Enable network mocks and more in UI Tests

  • RealHTTP

    🌀swift async http client - fast, lightweight, type-safe

  • Mockingbird

    Simplify software testing, by easily mocking any system using HTTP/HTTPS, allowing a team to test and develop against a service that is not complete or is unstable or just to reproduce planned/edge cases. (by Farfetch)

  • Impersonator

    Ruby library to record and replay object interactions (by jorgemanrubia)

  • FakeServer

    FakeServer integrates with ExUnit to make external APIs testing simpler

  • timex

    A test-friendly replacement for golang's time package [managed by soy-programador] (by cabify)

  • modern-api-management

    A modern approach to manage APIs effectively using Protobuf

  • Guava

    A Swift test double library. Guava - looks like an apple but it's not. (by merindorium)

  • pybond

    pybond is a spying and stubbing library for python, inspired by the clojure bond library.

  • camouflage_deno

    HTTP/HTTPs Mocking tool

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Stub related posts

Index

What are some of the best open-source Stub projects? This list will help you:

Project Stars
1 Mockery 10,557
2 Sinon.JS 9,553
3 OHHTTPStubs 5,014
4 typeshed 4,053
5 Cuckoo 1,636
6 mocha 1,194
7 amber 1,116
8 ts-mockito 946
9 SwiftMockGeneratorForXcode 741
10 DeepfakeHTTP 502
11 Phake 478
12 mimic 347
13 SBTUITestTunnel 329
14 RealHTTP 278
15 Mockingbird 194
16 Impersonator 115
17 FakeServer 72
18 timex 70
19 modern-api-management 52
20 Guava 10
21 pybond 6
22 camouflage_deno 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com