Displaying 1 to 13 from 13 results

sinon-chai - Extends Chai with assertions for the Sinon.JS mocking framework.

  •    Javascript

Sinon–Chai provides a set of custom assertions for using the Sinon.JS spy, stub, and mocking framework with the Chai assertion library. You get all the benefits of Chai with all the powerful tools of Sinon.JS. All of your favorite Sinon.JS assertions made their way into Sinon–Chai. We show the should syntax here; the expect equivalent is also available.

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

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

mocha-sinon - Integration between sinon and mocha, allowing for automatic cleanup of spies

  •    Javascript

For background, please see issue #1 on this project. If you use mocha's flakey watch flag, there is experimental support for it. Note that the first method of requiring the mocha-sinon is the best way to do it.




chai-spies - Spies for Chai Assertion Library.

  •    Javascript

This is an addon plugin for the chai assertion library. It provides the most basic function spy ability and tests. This library is primarily meant to serve as a starting point for anyone interested in developing chai plugins. If developing a module, you are welcome to use this as a starting point. I also encourage the use of the compile tools to allow modules to work both in node.js and the browser.

spooks.js - [UNMAINTAINED] Easily create JavaScript unit test spies and mock objects.

  •    Javascript

Easily create JavaScript unit test spies and mock objects. If you're into other package managers, it is also available from Bower, Component and Jam.

spies - Easier spies, stubs, and mocks for PHP testing

  •    PHP

A library to make testing in PHP so much easier. You can install it in a PHP project by following the instructions below. What is it? If you've ever used sinon in JavaScript testing, you know about the concept of Test Spies, and in many ways this library is just implementing those concepts in PHP. It also includes Expectations to simplify spy assertions, inspired by sinon-chai.

ninos - Simple stubbing/spying for AVA

  •    Javascript

This method setups the t.context.stub() and t.context.spy() functions. It hooks into AVA to automatically restore spies after each test. Call this method to create a function that you can use in place of any other function (as a callback/etc).


software-testing - Repository explores Core Concepts in Software Testing

  •    Javascript

To view lecture notes for this course, please consult the github-pages. This meetup event gives an introduction to unit testing, integration testing, and end-to-end-testing. We will also go over Mocks, Stubs, and Spies.

torrent-live - Anti-spies and private torrents, live streaming and dynamic torrent blocklist

  •    Javascript

Download and stream live (while the download is in progress) torrents with your browser, send it to your TV. Torrent-live is a new open source bittorrent client which detects, blocks and follows the monitoring spies, making your use of the bittorrent network much more private and safe, do not say to everybody what you are really looking for and minimize your visibility, ultimately activate the optional total freerider option, easy to install and use.

software-testing-workshop - Repository explores Core Concepts in Software Testing

  •    Javascript

To view lecture notes for this course, please consult the github-pages. This meetup event gives an introduction to unit testing, integration testing, and end-to-end-testing. We will also go over Mocks, Stubs, and Spies.

hanbi - A small javascript library for stubbing and spying on methods/functions.

  •    TypeScript

hanbi is a rather small and simple library for stubbing and spying on methods and functions in JavaScript tests. Creates a single "spy" function to be used as input into some other function.

DeepfakeHTTP - 🟪 DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.

  •    Java

Tells the server what the content type (media type) of the body content actually is. Value of this header has same rules as value of standard HTTP Content-Type header. This header is useful when you want to use binary data, template or script as a response body.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.