SaaSHub helps you find the best software and product alternatives Learn more →
Top 17 mocking-framework 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.
-
PowerMock
PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.
-
LoggingInterceptor
An OkHttp interceptor which has pretty logger for request and response. +Mock support
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
jest-mock-extended
Type safe mocking extensions for Jest https://www.npmjs.com/package/jest-mock-extended
-
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
-
SimpleStubs
*SimpleStubs* is a simple mocking framework that supports Universal Windows Platform (UWP), .NET Core and .NET framework. SimpleStubs is currently developed and maintained by Microsoft BigPark Studios in Vancouver. (by microsoft)
-
libcester
A robust header-only unit testing framework for C and C++ programming language. Support function mocking, memory leak detection, crash report.
-
apollo-mock-http
An easy and maintainable way of injecting mock data into Apollo GraphQL Client for fast feature development decoupled from API/Backend.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Mock Service Worker - https://mswjs.io/ (Mocking the API Responses in the browser without creating a separate mock server)
Project mention: For those DAO, Services, how about using static objects with mockk for test | /r/u_Fun_Indication4997 | 2023-12-08The official suggests using dagger/hilt to inject them. However, they could be static based on the static ApplicationContext. Although Dagger/hilt aids in unit testing, mockk can accomplish this easily as well by modifying bytecode during run time. As for the stability, `mockk` has 5000+ stars on GitHub and keeps renewing.
If you're looking for alternatives to Moq please check out DivertR, a mocking framework I have created https://github.com/devodo/DivertR
mocking-framework related posts
-
Easier TypeScript API Testing with Vitest + MSW
-
Creating mocks for testing react code
-
Storybook 8
-
Partial: how not to mock the whole world
-
Polly.js – Record, replay, and stub HTTP interactions
-
How do you manage Dependency Injection in Next.js APPS?
-
Mocks agnósticos para bibliotecas de requisições HTTP no Node.js
-
A note from our sponsor - SaaSHub
www.saashub.com | 12 May 2024
Index
What are some of the best open-source mocking-framework projects? This list will help you:
Project | Stars | |
---|---|---|
1 | msw | 14,878 |
2 | Mockito | 14,603 |
3 | mockk | 5,289 |
4 | PowerMock | 4,128 |
5 | CppUTest | 1,318 |
6 | LoggingInterceptor | 1,313 |
7 | OCMockito | 991 |
8 | jest-mock-extended | 783 |
9 | mockolo | 784 |
10 | Mockito Scala | 346 |
11 | fake-xrm-easy | 263 |
12 | cgreen | 173 |
13 | SimpleStubs | 66 |
14 | libcester | 58 |
15 | pymox | 14 |
16 | apollo-mock-http | 11 |
17 | DivertR | 10 |
Sponsored