Standalone and test framework agnostic JavaScript test spies, stubs and mocks (pronounced "sigh-non", named after Sinon, the warrior).or via sinon's browser builds available for download on the homepage. There are also npm based CDNs one can use.
stubs tdd test-driven-development unit-testing sinon stub test-spiesSinon–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.
chai chai-plugin browser vendor mocks-and-spies sinon testing spies stubs mocksVisit the NSubstitute website for more information. NSubstitute is designed as a friendly substitute for .NET mocking libraries.
c-sharp dot-net testing testing-tools test mocking mock dotnet-core dotnetcore mocks stubsFast, easy and reliable testing for anything that runs in a browser. Install Cypress for Mac, Linux, or Windows, then get started.
test testing testing-tools test-suite test-automation test-runner tests javascript-tests cypress end-to-end-testing e2e-testing e2e-tests browser cypress.io automation end-to-end e2e integration mocks runner spies stubsA 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.
require mocking mocks stubs dependency-injection testingA Grunt plugin for setting up a Stubby mock server based on YAML/JSON/JS configuration files
gruntplugin stubby mock server stubs taskRe-apply type annotations from .pyi stubs to your codebase. When you run retype, it goes through all files you passed as SRC, finds the corresponding .pyi files in the types/ directory, and re-applies typing annotations from .pyi to the sources, using the Python 3 function and variable annotation syntax. The resulting combined sources are saved in typed-src/.
python3 typing type-checking stubs mypy pep484 python2This 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.
chai chai-plugin browser mocks-and-spies testing spies stubs mocksThis repo provide the most complete Phalcon Framework stubs which enables autocompletion in modern IDEs. Setup your IDE.
phalcon devtools ide stubs autocomplete autocompletion syntax-highlightingStubbing imported assets (typically, in react components / ES6) so they work in JEST. Sometimes, you don't want to use harmony-reflect or cannot (node 4) or you need to test onload behaviour handlers. These stubs will return their content type's equivalent of blank.gif, not just an empty string.
jest react stubs blank.gifA Gulp plugin for setting up a Stubby mock server based on YAML/JSON/JS configuration files. Inspired by Grunt Stubby.
gulpplugin stubby mock server stubs taskPrig(PRototyping jIG) is a framework that generates a Test Double like Microsoft Fakes/Typemock Isolator/Telerik JustMock based on Unmanaged Profiler APIs. This framework enables that any methods are replaced with mocks. For example, a static property, a private method, a non-virtual member and so on. As of Mar 12, 2017, Released V2.3.2.
c-sharp dot-net testing testing-tools test mocking mock mocks stubsTest-double framework for Node.js and the browser. For more information view the documentation.
mocks stubs testing test-doublesSimple test doubles and stubs for NodeJS testing purposes, designed for usage when tools like Sinon offer more power than your project needs. Until I am able to write up proper docs, the best place to look is the test file, which shows the API nicely.
testing doubles stubs testPromise based HTTP/HTTPS client with optional virtualization. Depends on request-promise. This is helpful for services / apis that call other services / apis, but want to allow for virtualizing (stubbing) those calls in tests, CI/CD pipeline, or volume / performance testing. For more details on bluebird's Promise.all, check this out.
virtualization promise nodejs node-js node ci-cd http http-client mock mocks https request request-promise virtual virtualize stub stubsStub implementations of Node built-in modules, a la Browserify
stubs shims node builtins core modules browserify webpack meteorThis 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).
testing ava stubs spies mocks stub spy mock sinonThe package is currently in pre-alpha stage. See issue tracker for bugs and missing features. If you want to contribute, a good place to start is help-wanted label. The 0.1 version will be released after we will fix issues #2, #5, and #7. The long term goal is to be able to infer types for more complex situations like correctly inferring columns in most compound queries.
types typing stubs mypy sql sqlalchemy
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.