Displaying 1 to 20 from 37 results

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.The assert package provides some helpful methods that allow you to write better test code in Go.

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.

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

Mockito continuously delivers improvements using Shipkit library (http://shipkit.org). See the latest release notes and latest documentation. Docs in javadoc.io are available 24h after release. Read also about semantic versioning in Mockito.Older 1.x releases are available in Central Repository , Bintray and javadoc.io (documentation).

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.

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.

Dev Magic Fake

DevMagicFake will enable us to save retrieve any object from our domain model without writing any code, it stores and retrieves objects using the memory. DevMagicFake also will enable us to generate objects with data, so no need to create any faked or mock object to simulate o...

pose - Replace any .NET method (including static and non-virtual) with a delegate

Pose allows you to replace any .NET method (including static and non-virtual) with a delegate. It is similar to Microsoft Fakes but unlike it Pose is implemented entirely in managed code (Reflection Emit API). Everything occurs at runtime and in-memory, no unmanaged Profiling APIs and no file system pollution with re-written assemblies.Pose is cross platform and runs anywhere .NET is supported. It targets .NET Standard 2.0 so it can be used across .NET platforms including .NET Framework, .NET Core, Mono and Xamarin. See version compatibility table here.

node-sandboxed-module - A sandboxed node

A sandboxed node.js module loader that lets you inject dependencies into your modules.This module is intended to ease dependency injection for unit testing. However, feel free to use it for whatever crimes you can think of.

moq - Interface mocking tool for go generate

Interface mocking tool for go generate. By Mat Ryer and David Hernandez, with ideas lovingly stolen from Ernesto Jimenez.

capture-thread - Framework for loggers, tracers, and mockers in multithreaded C++ programs.

Framework for loggers, tracers, and mockers in multithreaded C++ programs.When developing C++ projects, instrumentation is frequently used to collect information from the system, inject information into the system, or both. The role of this information within the system rarely lines up with the actual structure of the project.

pook - Versatile and expressive HTTP traffic mocking and expectations made easy in Python

Versatile, expressive and hackable utility library for HTTP traffic mocking and expectations made easy in Python. Heavily inspired by gock.To get started, see the documentation, how it works, FAQ or examples.

umock-c - A pure C mocking library

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.umock_c is a C mocking library.

moka - A Go mocking framework.

A Go mocking framework. Moka is a mocking framework for the Go programming language. Moka works very well with the Ginkgo testing framework, but can be easily used with any other testing framework, including the testing package from the standard library.