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. Learn more →
Top 17 Mock Open-Source Projects
-
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.
-
System.IO.Abstractions
Just like System.Web.Abstractions, but for System.IO. Yay for testable IO access!
-
apitest
A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.
-
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.
-
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
-
camouflage
Camouflage is a backend mocking tool for HTTP, gRPC, Websockets and Thrift protocols, which helps you carry out your front end prototyping, unit testing, functional/performance testing in silos, in absence of one or more Microservices/APIs.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
I'm far too lazy to write mocks by hand in go. You can generate a mock for a given interface with mockery https://github.com/vektra/mockery
a. you might do so purely out of argo cult, i.e. because someone told you this was the right thing to do™, and that's a silly exercise. b. you could also be doing this for a good reason: to use the interface with a mocking tool like NSubstitute
Currently, I am developing an E2E testing framework called go-spectest/spectest. Spectest is a package forked from steinfletcher/apitest, and I have been gradually adding its unique features. To enhance spectest further, I believe it's best to actually test APIs.
Mocks related posts
- I made a type-safe mocking library
- How to handle cross platform paths WHILE running on the opposite platform?
- more clever and faster management for gomock (sanposhiho/gomockhandler)
- Yet another extendable library for generating fake data: Suchjs release to 1.0
- Mock-inspect – A network mocking library to inspect RESTful and GraphQL requests
- Show HN: Gomockhandler – more clever and faster management for gomock
- Using hanbi for your JavaScript testing
-
A note from our sponsor - InfluxDB
www.influxdata.com | 28 Apr 2024
Index
What are some of the best open-source Mock projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Mockito | 14,584 |
2 | mockery | 5,608 |
3 | NSubstitute | 2,550 |
4 | System.IO.Abstractions | 1,462 |
5 | mockolo | 775 |
6 | apitest | 738 |
7 | Mockito | 623 |
8 | hammox | 550 |
9 | observer-spy | 366 |
10 | mimic | 349 |
11 | Mockito Scala | 346 |
12 | Mockaco | 317 |
13 | camouflage | 253 |
14 | gomockhandler | 103 |
15 | hanbi | 58 |
16 | CreateAndFake | 11 |
17 | mocksafe | 3 |
Sponsored