Displaying 1 to 20 from 86 results

FakeItEasy - The easy mocking library for .NET


A .Net dynamic fake framework for creating all types of fake objects, mocks, stubs etc.FakeItEasy logo designed by Vanja Pakaski.

faker.js - generate massive amounts of fake data in Node.js and the browser


faker.js contains a super useful generator method Faker.fake for combining faker API methods using a mustache string format.

json-server - Get a full fake REST API with zero coding in less than 30 seconds (seriously)


Created with <3 for front-end developers who need a quick back-end for prototyping and mocking.Based on the previous db.json file, here are all the default routes. You can also add other routes using --routes.




interfake - :computer: Fake APIs for prototypes & automated tests.


Interfake is a tool which allows developers of client-side applications of any platform to easily create dummy HTTP APIs to develop against. Let's get started with a simple example.If you don't want to use the JavaScript method to create your Interfake API, go read up on all the methods. Otherwise, read on.

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


It works with NSURLConnection, NSURLSession, AFNetworking, Alamofire or any networking framework that use Cocoa's URL Loading System. OHHTTPStubs headers are fully documented using Appledoc-like / Headerdoc-like comments in the header files. You can also read the online documentation here.

mountebank - Over the wire test doubles


In fact, halfway through we discovered our corporate mocking software couldn’t handle the sheer amount of performance testing we were running as part of this effort (we completely crushed some pretty industrial enterprise software in the process). As a result, we made the call to move the entire program over to a Mountebank OSS-based solution with a custom provision to give us the ability to expand/shrink our mocking needs on demand. mountebank is the first open source tool to provide cross-platform, multi-protocol test doubles over the wire. Just point your application to mountebank instead of the real dependency, and test like you would with traditional stubs and mocks.

mimesis - Mimesis is a fast and easy to use library for Python, which helps generate synthetic data for a variety of purposes in a variety of languages


Mimesis is a fast and easy to use library for Python programming language, which helps generate synthetic data for a variety of purposes in a variety of languages. This data can be particularly useful during software development and testing. For example, it could be used to populate a testing database, create beautiful JSON and XML files, anonymize data taken from a production service, etc. You can find the complete documentation on the Read the Docs.


NSubstitute - A friendly substitute for .NET mocking libraries.


Visit the NSubstitute website for more information. NSubstitute is designed as a friendly substitute for .NET mocking libraries.

testdouble.js - A minimal test double library for TDD with JavaScript


Welcome! Are you writing JavaScript tests and in the market for a mocking library to fake out real things for you? testdouble.js is an opinionated, carefully-designed test double library maintained by, oddly enough, a software agency that's also named Test Double. If you practice test-driven development, testdouble.js was designed to promote terse, clear, and easy-to-understand tests. There's an awful lot to cover, so please take some time and enjoy our documentation, which is designed to show you how to make the most out of test doubles in your tests.

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


Go code (golang) set of packages that provide many tools for testifying that your code will behave as you intend. It supports Easy assertions, Mocking, Testing suite interfaces and functions.

casual - Fake data generator for javascript


NOTE: if getter function has non-empty arguments list then generator should be called as function casual.profile('public'), otherwise it should be accessed as property casual.profile. Default locale is en_US.

Pester - Pester is the ubiquitous test and mock framework for PowerShell.


Pester is the ubiquitous test and mock framework for PowerShell. This code example lies a tiny bit, find it annotated and production ready here.

vcrpy - Automatically mock your HTTP interactions to simplify and speed up testing


This is a Python version of Ruby's VCR library. If the server you are testing against ever changes its API, all you need to do is delete your existing cassette files, and run your tests again. VCR.py will detect the absence of a cassette file and once again record all HTTP interactions, which will update them to correspond to the new API.

Mockito - Most popular Mocking framework for unit tests written in Java


Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with a clean & simple API. Mockito doesn’t give you hangover because the tests are very readable and they produce clean verification errors.

mockery - Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework


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). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending. Mockery is released under a New BSD License.

inject-loader - 💉👾 A Webpack loader for injecting code into modules via their dependencies.


This is particularly useful for writing tests where mocking things inside your module-under-test is sometimes necessary before execution. inject-loader was inspired by, and builds upon ideas introduced in jauco/webpack-injectable.