mocking-framework

Open-source projects categorized as mocking-framework

Top 17 mocking-framework Open-Source Projects

  • msw

    Seamless REST/GraphQL API mocking library for browser and Node.js.

  • Project mention: Visual Introduction to Frontend Testing Types | dev.to | 2024-05-10

    Mock Service Worker - https://mswjs.io/ (Mocking the API Responses in the browser without creating a separate mock server)

  • Mockito

    Most popular Mocking framework for unit tests written in Java

  • 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
  • mockk

    mocking library for Kotlin

  • Project mention: For those DAO, Services, how about using static objects with mockk for test | /r/u_Fun_Indication4997 | 2023-12-08

    The 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.

  • PowerMock

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

  • CppUTest

    CppUTest unit testing and mocking framework for C/C++

  • LoggingInterceptor

    An OkHttp interceptor which has pretty logger for request and response. +Mock support

  • OCMockito

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

  • SaaSHub

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

    SaaSHub logo
  • jest-mock-extended

    Type safe mocking extensions for Jest https://www.npmjs.com/package/jest-mock-extended

  • mockolo

    Efficient Mock Generator for Swift

  • Mockito Scala

    Mockito for Scala language

  • 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

  • cgreen

    A modern, portable, cross-language unit testing and mocking framework for C and C++

  • 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.

  • pymox

    Pymox - Python mocking on steroids

  • apollo-mock-http

    An easy and maintainable way of injecting mock data into Apollo GraphQL Client for fast feature development decoupled from API/Backend.

  • DivertR

    The .NET mocking framework for integration testing.

  • Project mention: Since v4.20, Moq is harvesting email addresses | news.ycombinator.com | 2023-08-08

    If you're looking for alternatives to Moq please check out DivertR, a mocking framework I have created https://github.com/devodo/DivertR

  • 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).

mocking-framework related posts

  • Easier TypeScript API Testing with Vitest + MSW

    3 projects | dev.to | 25 Apr 2024
  • Creating mocks for testing react code

    1 project | dev.to | 22 Apr 2024
  • Storybook 8

    5 projects | news.ycombinator.com | 13 Mar 2024
  • Partial: how not to mock the whole world

    4 projects | dev.to | 8 Feb 2024
  • Polly.js – Record, replay, and stub HTTP interactions

    2 projects | news.ycombinator.com | 8 Jan 2024
  • How do you manage Dependency Injection in Next.js APPS?

    1 project | /r/nextjs | 11 Dec 2023
  • Mocks agnósticos para bibliotecas de requisições HTTP no Node.js

    1 project | dev.to | 23 Oct 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

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
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com