An open API service providing repository metadata for many open source software ecosystems.

Topic: "mocking"

stretchr/testify

A toolkit with common assertions and mocks that plays nicely with the standard library

Language: Go - Size: 1.83 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 24,567 - Forks: 1,643

mswjs/msw

Industry standard API mocking for JavaScript.

Language: TypeScript - Size: 12.3 MB - Last synced at: 2 days ago - Pushed at: 6 days ago - Stars: 16,684 - Forks: 552

mockito/mockito

Most popular Mocking framework for unit tests written in Java

Language: Java - Size: 47.1 MB - Last synced at: 3 days ago - Pushed at: 24 days ago - Stars: 15,140 - Forks: 2,611

mockery/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).

Language: PHP - Size: 85.3 MB - Last synced at: 3 days ago - Pushed at: 7 days ago - Stars: 10,700 - Forks: 460

mockoon/mockoon

Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.

Language: TypeScript - Size: 28.9 MB - Last synced at: 1 day ago - Pushed at: 3 days ago - Stars: 7,113 - Forks: 410

wiremock/wiremock

A tool for mocking HTTP services

Language: Java - Size: 45.7 MB - Last synced at: 3 days ago - Pushed at: 3 days ago - Stars: 6,777 - Forks: 1,468

vektra/mockery

A mock code autogenerator for Go

Language: Go - Size: 39 MB - Last synced at: 3 days ago - Pushed at: 6 days ago - Stars: 6,571 - Forks: 436

AliSoftware/OHHTTPStubs

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

Language: Objective-C - Size: 2 MB - Last synced at: 1 day ago - Pushed at: about 1 year ago - Stars: 5,057 - Forks: 601

stoplightio/prism

Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.

Language: TypeScript - Size: 13.1 MB - Last synced at: 3 days ago - Pushed at: 28 days ago - Stars: 4,547 - Forks: 371

powermock/powermock

PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.

Language: Java - Size: 5.67 MB - Last synced at: 3 days ago - Pushed at: over 1 year ago - Stars: 4,184 - Forks: 587

ctimmerm/axios-mock-adapter

Axios adapter that allows to easily mock requests

Language: JavaScript - Size: 1.18 MB - Last synced at: 3 days ago - Pushed at: about 2 months ago - Stars: 3,518 - Forks: 254

pester/Pester

Pester is the ubiquitous test and mock framework for PowerShell.

Language: PowerShell - Size: 20.9 MB - Last synced at: about 24 hours ago - Pushed at: 5 days ago - Stars: 3,174 - Forks: 477

nsubstitute/NSubstitute

A friendly substitute for .NET mocking libraries.

Language: C# - Size: 86.9 MB - Last synced at: 1 day ago - Pushed at: 20 days ago - Stars: 2,811 - Forks: 272

kevin1024/vcrpy

Automatically mock your HTTP interactions to simplify and speed up testing

Language: Python - Size: 1.68 MB - Last synced at: 1 day ago - Pushed at: 13 days ago - Stars: 2,788 - Forks: 403

SpectoLabs/hoverfly

Lightweight service virtualization/ API simulation / API mocking tool for developers and testers

Language: Go - Size: 76.5 MB - Last synced at: about 14 hours ago - Pushed at: about 2 months ago - Stars: 2,409 - Forks: 211

h2non/gock

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

Language: Go - Size: 191 KB - Last synced at: about 20 hours ago - Pushed at: 8 months ago - Stars: 2,164 - Forks: 111

gabrielfalcao/HTTPretty

Intercept HTTP requests at the Python socket level. Fakes the whole socket module

Language: Python - Size: 1.07 MB - Last synced at: 1 day ago - Pushed at: 11 months ago - Stars: 2,124 - Forks: 277

matryer/moq

Interface mocking tool for go generate

Language: Go - Size: 2.4 MB - Last synced at: 1 day ago - Pushed at: 3 months ago - Stars: 2,075 - Forks: 130

Kong/insomnia-mockbin

Insomnia Mockbin is the underlying backend for the API mocks capability of Insomnia. It is built and used by Kong, the author of the open-source Kong Gateway.

Language: JavaScript - Size: 711 KB - Last synced at: 1 day ago - Pushed at: about 1 month ago - Stars: 2,046 - Forks: 214

bbyars/mountebank

Over the wire test doubles

Language: JavaScript - Size: 49.9 MB - Last synced at: 1 day ago - Pushed at: 3 months ago - Stars: 2,019 - Forks: 287

FakeItEasy/FakeItEasy

The easy mocking library for .NET

Language: C# - Size: 22.8 MB - Last synced at: 1 day ago - Pushed at: about 1 month ago - Stars: 1,773 - Forks: 186

iridakos/duckrails

Development tool to mock API endpoints quickly and easily (docker image available)

Language: Ruby - Size: 3.67 MB - Last synced at: about 1 month ago - Pushed at: almost 2 years ago - Stars: 1,720 - Forks: 109

Brightify/Cuckoo

Boilerplate-free mocking framework for Swift!

Language: Swift - Size: 2.75 MB - Last synced at: 1 day ago - Pushed at: 11 days ago - Stars: 1,705 - Forks: 191

richardszalay/mockhttp

Testing layer for Microsoft's HttpClient library. Create canned responses using a fluent API.

Language: C# - Size: 250 KB - Last synced at: about 20 hours ago - Pushed at: 6 months ago - Stars: 1,696 - Forks: 89

microcks/microcks

The open source, cloud native tool for API Mocking and Testing. Microcks is a Cloud Native Computing Foundation sandbox project 🚀

Language: Java - Size: 6.76 MB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 1,610 - Forks: 271

wiremock/WireMock.Net

WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.

Language: C# - Size: 10.3 MB - Last synced at: 1 day ago - Pushed at: 1 day ago - Stars: 1,552 - Forks: 219

testdouble/testdouble.js

A minimal test double library for TDD with JavaScript

Language: JavaScript - Size: 8.42 MB - Last synced at: 1 day ago - Pushed at: about 1 year ago - Stars: 1,425 - Forks: 141

3lvis/Networking

Swift HTTP Networking with stubbing and caching support

Language: Swift - Size: 11 MB - Last synced at: 1 day ago - Pushed at: 7 days ago - Stars: 1,366 - Forks: 115

help-me-mom/ng-mocks

Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup

Language: TypeScript - Size: 335 MB - Last synced at: 2 days ago - Pushed at: 3 days ago - Stars: 1,117 - Forks: 93

tonerdo/pose

Replace any .NET method (including static and non-virtual) with a delegate

Language: C# - Size: 228 KB - Last synced at: about 7 hours ago - Pushed at: over 2 years ago - Stars: 1,092 - Forks: 74

google/cmockery

A lightweight library to simplify and generalize the process of writing unit tests for C applications.

Language: Shell - Size: 425 KB - Last synced at: 25 days ago - Pushed at: almost 5 years ago - Stars: 1,070 - Forks: 372

jonreid/OCMockito

Mockito for Objective-C: creation, verification and stubbing of mock objects

Language: Objective-C - Size: 5.39 MB - Last synced at: 1 day ago - Pushed at: 2 months ago - Stars: 991 - Forks: 121

NagRock/ts-mockito

Mocking library for TypeScript

Language: TypeScript - Size: 286 KB - Last synced at: about 15 hours ago - Pushed at: over 2 years ago - Stars: 988 - Forks: 92

mongomock/mongomock

Small library for mocking pymongo collection objects for testing purposes

Language: Python - Size: 3.17 MB - Last synced at: 3 days ago - Pushed at: 3 months ago - Stars: 973 - Forks: 347

mswjs/data

Data modeling and relation library for testing JavaScript applications.

Language: TypeScript - Size: 893 KB - Last synced at: about 1 month ago - Pushed at: 8 months ago - Stars: 869 - Forks: 55

uber/mockolo

Efficient Mock Generator for Swift

Language: Swift - Size: 968 KB - Last synced at: 11 days ago - Pushed at: 11 days ago - Stars: 846 - Forks: 89

stoplightio/studio

The modern editor for API Design and Technical Writing.

Size: 27.4 MB - Last synced at: 4 days ago - Pushed at: about 1 year ago - Stars: 837 - Forks: 52

romantitov/MockQueryable

Mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc

Language: C# - Size: 351 KB - Last synced at: 4 days ago - Pushed at: 8 months ago - Stars: 819 - Forks: 81

steinfletcher/apitest

A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.

Language: Go - Size: 2.2 MB - Last synced at: about 19 hours ago - Pushed at: 29 days ago - Stars: 816 - Forks: 55

thoov/mock-socket

Javascript mocking library for WebSockets and Socket.IO

Language: JavaScript - Size: 2.37 MB - Last synced at: 1 day ago - Pushed at: 3 months ago - Stars: 802 - Forks: 121

ThrowTheSwitch/CMock

Mock/stub generator for C

Language: C - Size: 3.73 MB - Last synced at: 7 days ago - Pushed at: 3 months ago - Stars: 724 - Forks: 290

mswjs/examples

Examples of Mock Service Worker usage with various frameworks and libraries.

Size: 4 MB - Last synced at: about 6 hours ago - Pushed at: 6 months ago - Stars: 702 - Forks: 211

MikeSchulze/gdUnit4

Embedded unit testing framework for Godot 4 supporting GDScript and C#. Features test-driven development, embedded test inspector, extensive assertions, mocking, scene testing.

Language: GDScript - Size: 76.6 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 687 - Forks: 36

pytest-dev/pyfakefs

Provides a fake file system that mocks the Python file system modules.

Language: Python - Size: 9.5 MB - Last synced at: 5 days ago - Pushed at: 9 days ago - Stars: 682 - Forks: 93

felangel/mocktail

A mock library for Dart inspired by mockito

Language: Dart - Size: 178 KB - Last synced at: about 1 month ago - Pushed at: 10 months ago - Stars: 669 - Forks: 81

ThrowTheSwitch/Ceedling

Unit testing and build system for C projects

Language: Ruby - Size: 8.79 MB - Last synced at: 7 days ago - Pushed at: 9 days ago - Stars: 665 - Forks: 255

Typescript-TDD/ts-auto-mock

Typescript transformer to unlock automatic mock creation for interfaces and classes

Language: TypeScript - Size: 38 MB - Last synced at: 1 day ago - Pushed at: 6 days ago - Stars: 607 - Forks: 16

davidlatwe/montydb

Monty, Mongo tinified. MongoDB implemented in Python !

Language: Python - Size: 1.26 MB - Last synced at: about 17 hours ago - Pushed at: 4 months ago - Stars: 593 - Forks: 30

nomemory/mockneat

MockNeat - the modern faker lib.

Language: Java - Size: 2.65 MB - Last synced at: about 1 month ago - Pushed at: about 2 years ago - Stars: 531 - Forks: 47

devlucky/Kakapo.js

:bird: Next generation mocking framework in Javascript

Language: TypeScript - Size: 5.31 MB - Last synced at: 24 days ago - Pushed at: over 2 years ago - Stars: 530 - Forks: 23

dg/bypass-finals

Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.

Language: PHP - Size: 62.5 KB - Last synced at: 1 day ago - Pushed at: about 2 months ago - Stars: 520 - Forks: 32

pnuckowski/aioresponses

Aioresponses is a helper for mock/fake web requests in python aiohttp package.

Language: Python - Size: 268 KB - Last synced at: 7 months ago - Pushed at: about 1 year ago - Stars: 513 - Forks: 86

blang/vfs

Virtual filesystem library written in golang

Language: Go - Size: 55.7 KB - Last synced at: about 1 month ago - Pushed at: about 1 year ago - Stars: 475 - Forks: 53

jmockit/jmockit1

Advanced Java library for integration testing, mocking, faking, and code coverage

Language: Java - Size: 5.27 MB - Last synced at: 1 day ago - Pushed at: 4 months ago - Stars: 464 - Forks: 242

nrxus/faux

Struct mocking library for Rust

Language: Rust - Size: 1.66 MB - Last synced at: about 19 hours ago - Pushed at: 5 months ago - Stars: 462 - Forks: 17

smooth-code/fraql

GraphQL fragments made simple ⚡️

Language: JavaScript - Size: 765 KB - Last synced at: 10 days ago - Pushed at: about 5 years ago - Stars: 447 - Forks: 23

suites-dev/suites

Unit testing framework for dependency injection that automates mocking and simplifies test setup, reducing boilerplate code and enabling developers to build comprehensive and reliable test suites with a standardized, type-safe API

Language: TypeScript - Size: 4.34 MB - Last synced at: 2 days ago - Pushed at: 3 days ago - Stars: 419 - Forks: 15

morsdyce/mimic

Seamless client side mocking

Language: JavaScript - Size: 6.99 MB - Last synced at: 7 days ago - Pushed at: about 2 years ago - Stars: 396 - Forks: 37

ovidiuch/react-mock 📦

Declarative mocks for React state and global APIs

Language: JavaScript - Size: 303 KB - Last synced at: 26 days ago - Pushed at: about 2 years ago - Stars: 365 - Forks: 8

stipsan/ioredis-mock

Emulates ioredis by performing all operations in-memory.

Language: JavaScript - Size: 6.74 MB - Last synced at: 1 day ago - Pushed at: 3 months ago - Stars: 355 - Forks: 129

h2non/pook

HTTP traffic mocking and testing made easy in Python

Language: Python - Size: 430 KB - Last synced at: about 13 hours ago - Pushed at: 5 months ago - Stars: 354 - Forks: 39

soumak77/firebase-mock

Firebase mock library for writing unit tests

Language: JavaScript - Size: 2.92 MB - Last synced at: 2 days ago - Pushed at: over 2 years ago - Stars: 350 - Forks: 94

TypedDevs/bashunit

A simple testing library for bash scripts. Test your bash scripts in the fastest and simplest way.

Language: Shell - Size: 18 MB - Last synced at: about 1 month ago - Pushed at: about 1 month ago - Stars: 346 - Forks: 33

natenho/Mockaco

🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting

Language: C# - Size: 2.65 MB - Last synced at: about 1 month ago - Pushed at: 6 months ago - Stars: 339 - Forks: 38

castlemock/castlemock

Castle Mock is a web application that provides the functionality to mock out RESTful APIs and SOAP web services.

Language: Java - Size: 17 MB - Last synced at: 7 days ago - Pushed at: 7 days ago - Stars: 328 - Forks: 105

bjoernQ/unmock-plugin

Gradle plugin to be used in combination with the new unit testing feature of the Gradle Plugin / Android Studio to use real classes for e.g. SparseArray.

Language: Java - Size: 323 KB - Last synced at: 23 days ago - Pushed at: 6 months ago - Stars: 326 - Forks: 22

stphivos/django-mock-queries

A library for mocking django queryset functions in memory for testing

Language: Python - Size: 324 KB - Last synced at: about 2 months ago - Pushed at: 4 months ago - Stars: 319 - Forks: 54

micromata/http-fake-backend 📦

Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.

Language: JavaScript - Size: 567 KB - Last synced at: about 2 months ago - Pushed at: over 1 year ago - Stars: 310 - Forks: 21

kentcdodds/js-mocking-fundamentals

JavaScript Mocking Fundamentals on TestingJavaScript.com

Language: JavaScript - Size: 172 KB - Last synced at: 7 months ago - Pushed at: over 1 year ago - Stars: 306 - Forks: 286

JasonBock/Rocks

A mocking library based on the Compiler APIs (Roslyn + Mocks)

Language: C# - Size: 17.4 MB - Last synced at: 4 days ago - Pushed at: 4 days ago - Stars: 305 - Forks: 22

maurocarrero/sinon-jest-cheatsheet

Some examples on how to achieve the same goal with either of both libraries: sinon and jest. Also some of those goals achievable only by one of these tools.

Language: JavaScript - Size: 394 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 301 - Forks: 25

mockative/mockative

Mocking for Kotlin/Native and Kotlin Multiplatform using the Kotlin Symbol Processing API (KSP)

Language: Kotlin - Size: 639 KB - Last synced at: about 1 month ago - Pushed at: 6 months ago - Stars: 298 - Forks: 12

mindflayer/python-mocket

a socket mock framework - for all kinds of socket animals, web-clients included

Language: Python - Size: 620 KB - Last synced at: about 7 hours ago - Pushed at: 8 days ago - Stars: 293 - Forks: 45

wll8/mockm

用于处理前端在接口环节中的各种问题,例如快速生成 api 以及创造数据、页面部署等,开箱即用,便于迁移。A framework based on Express. It can quickly generate APIs and create data, ready for deployment out of the box.

Language: JavaScript - Size: 6.92 MB - Last synced at: 8 days ago - Pushed at: 29 days ago - Stars: 281 - Forks: 25

testdouble/mocktail

🥃 Take your Ruby, and make it a double!

Language: Ruby - Size: 3.22 MB - Last synced at: 18 days ago - Pushed at: about 1 month ago - Stars: 277 - Forks: 9

jordimontana82/fake-xrm-easy 📦

The testing framework for Dynamics CRM and Dynamics 365 which runs on an In-Memory context and deals with mocks or fakes for you

Language: C# - Size: 15 MB - Last synced at: 11 months ago - Pushed at: 11 months ago - Stars: 263 - Forks: 180

mirrajabi/okhttp-json-mock

Mock your data for Okhttp and Retrofit in json format in just a few moves

Language: Java - Size: 121 KB - Last synced at: 6 months ago - Pushed at: almost 7 years ago - Stars: 245 - Forks: 25

thiagokimo/Faker

Provides fake data to your Android apps :)

Language: Java - Size: 1.45 MB - Last synced at: over 1 year ago - Pushed at: about 7 years ago - Stars: 243 - Forks: 31

TommyLemon/UnitAuto

☀️ 最先进、最省事、ROI 最高的单元测试,机器学习 零代码、全方位、自动化 测试 方法/函数,用户包含腾讯、快手、某 500 强巨头等 ☀️ The most advanced unit testing way powered by machine learning. Coding-free, comprehensive and automatic testing for methods/functions. Used by Tencent, Kwai, a Fortune 500 company, etc.

Language: JavaScript - Size: 29.6 MB - Last synced at: about 1 month ago - Pushed at: 4 months ago - Stars: 238 - Forks: 57

CodeSandwich/Mocktopus

Mocking framework for Rust

Language: Rust - Size: 421 KB - Last synced at: 6 months ago - Pushed at: about 1 year ago - Stars: 233 - Forks: 20

mockiato/mockiato 📦

A strict, yet friendly mocking library for Rust 2018

Language: Rust - Size: 1.02 MB - Last synced at: 5 days ago - Pushed at: 12 months ago - Stars: 225 - Forks: 4

Trendyol/gaos

HTTP mocking to test API services for chaos scenarios

Language: Go - Size: 92.8 KB - Last synced at: about 1 month ago - Pushed at: 3 months ago - Stars: 213 - Forks: 7

rant-lang/rant

Rant - The templating language for procedural generation.

Language: Rust - Size: 836 KB - Last synced at: 10 days ago - Pushed at: almost 3 years ago - Stars: 210 - Forks: 14

iambumblehead/esmock

ESM import and globals mocking for unit tests

Language: JavaScript - Size: 733 KB - Last synced at: about 9 hours ago - Pushed at: 4 months ago - Stars: 206 - Forks: 20

eloquent/phony 📦

Mocks, stubs, and spies for PHP.

Language: PHP - Size: 7.67 MB - Last synced at: 27 days ago - Pushed at: almost 2 years ago - Stars: 194 - Forks: 7

jonathanpeppers/Xamarin.Forms.Mocks

Library for running Xamarin.Forms inside of unit tests

Language: C# - Size: 254 KB - Last synced at: about 23 hours ago - Pushed at: over 3 years ago - Stars: 194 - Forks: 25

lavyun/better-mock

Forked from Mockjs, Generate random data & Intercept ajax request. Support miniprogram.

Language: JavaScript - Size: 3.51 MB - Last synced at: 28 days ago - Pushed at: over 1 year ago - Stars: 192 - Forks: 26

elliotchance/dingo

🐺 Easy, fast and type-safe dependency injection for Go.

Language: Go - Size: 36.1 KB - Last synced at: about 1 month ago - Pushed at: 11 months ago - Stars: 188 - Forks: 13

unloggedio/unlogged-sdk

Unlogged SDK for recording JAVA code execution

Language: Java - Size: 6.06 MB - Last synced at: 3 months ago - Pushed at: 8 months ago - Stars: 183 - Forks: 20

alexanderjamesking/spy

Clojure/ClojureScript library for stubs, spies and mocks.

Language: Clojure - Size: 886 KB - Last synced at: 27 days ago - Pushed at: 3 months ago - Stars: 178 - Forks: 9

mockoon/cli 📦

Mockoon's official CLI. Deploy your mock APIs anywhere.

Language: TypeScript - Size: 614 KB - Last synced at: 10 months ago - Pushed at: 10 months ago - Stars: 178 - Forks: 23

speekha/httpmocker

HttpMocker is a simple HTTP mocking library written in Kotlin to quickly and easily handle offline modes in your apps

Language: Kotlin - Size: 1.14 MB - Last synced at: about 1 month ago - Pushed at: over 3 years ago - Stars: 178 - Forks: 16

neotoolkit/dummy 📦

Run mock server based off an API contract with one command

Language: Go - Size: 5.37 MB - Last synced at: 10 months ago - Pushed at: about 2 years ago - Stars: 177 - Forks: 9

SpectoLabs/hoverfly-java

Java binding for Hoverfly

Language: Java - Size: 1.61 MB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 169 - Forks: 59

mswjs/mswjs.io

Official website and documentation for the Mock Service Worker library.

Language: TypeScript - Size: 7.18 MB - Last synced at: 13 days ago - Pushed at: 13 days ago - Stars: 166 - Forks: 191

ovechkin-dm/mockio

Mockito for golang

Language: Go - Size: 1.73 MB - Last synced at: about 5 hours ago - Pushed at: 14 days ago - Stars: 163 - Forks: 3

mswjs/source

Generate MSW request handlers from various sources (HAR files, OpenAPI documents, etc).

Language: TypeScript - Size: 3.39 MB - Last synced at: 3 days ago - Pushed at: 7 months ago - Stars: 161 - Forks: 8

plouc/wiremock-ui

An unofficial UI for WireMock

Language: TypeScript - Size: 4.99 MB - Last synced at: 15 days ago - Pushed at: 7 months ago - Stars: 160 - Forks: 59

Ditectrev/Scrum-Developer-I-PSD-I-Practice-Tests-Exams-Questions-Answers

⛳️ PASS: Scrum Developer I (PSD I) by learning based on our Questions & Answers (Q&A) Practice Tests Exams.

Size: 3.39 MB - Last synced at: 3 months ago - Pushed at: 4 months ago - Stars: 151 - Forks: 64

Fadelis/grpcmock

A gRPC Java testing tool to easily mock endpoints of gRPC services for IT or Unit testing

Language: Java - Size: 333 KB - Last synced at: 6 days ago - Pushed at: about 1 month ago - Stars: 149 - Forks: 13