Topics / #mocking-framework

Mocking-framework projects on GitHub

Libraries for stubbing and faking dependencies in tests.

As of , the most-starred Mocking-framework projects on GitHub are googletest (39.7K stars), testify (26.2K stars) and Mock (19.6K stars). GitHub.Locker tracks 5 Mocking-framework repositories with 119.2K stars combined. The fastest-growing on October 18 was googletest, with +2 stars in a day.

5Projects
119.2KStars in total
+5Stars in a day

Hot right now

Most stars gained in a day · Oct 18

The all-time top

5 projects · by stars

  1. #1 · google/googletest

    googletest

    Google's testing and mocking framework for C++, built on the xUnit architecture. It merges the formerly separate GoogleTest and GoogleMock projects, which Google now maintains and releases together.

    39.7K
  2. #2 · stretchr/testify

    testify

    Testify is a toolkit of Go packages that add assertions, mocking and test suites on top of the standard library, so tests are easier to write and failures are easy to read.

    26.2K
  3. #3 · nuysoft/Mock

    Mock

    Mock.js is a JavaScript library that generates simulated data and mocks ajax requests, so front-end development and automated tests can run without waiting on a real back-end.

    19.6K
  1. 4

    msw

    18.3Kmswjs/msw · TypeScript

    Mock Service Worker (MSW) is the industry-standard API mocking library for JavaScript. It intercepts the network requests your app makes and serves mock responses you define, so you never touch a real backend.

  2. 5

    mockito

    15.5Kmockito/mockito · Java

    Mockito is a mocking framework for unit tests written in Java, and the most popular one: it creates mock objects so you can test a class in isolation from its dependencies.

Often tagged together