sinonjs.md
July 15, 2021 ยท View on GitHub
Bookmarks tagged [sinonjs]
www.codever.land/bookmarks/t/sinonjs
Unit Testing in Angular: Stubs vs Spies vs Mocks
https://www.amadousall.com/unit-testing-angular-stubs-vs-spies-vs-mocks/
In this article, I will show you the differences between the various kinds of test doubles, and how to use them when unit testing Angular applications using Jasmine.
- :calendar: published on: 2018-02-28
- tags: testing, jasmine, sinonjs, test-double, angular
Best Practices for Spies, Stubs and Mocks in Sinon.js - Semaphore
https://semaphoreci.com/community/tutorials/best-practices-for-spies-stubs-and-mocks-in-sinon-js
In this article, we'll show you the differences between spies, stubs and mocks, when and how to use them, and give you a set of best practices to help you avoid common pitfalls.
- :calendar: published on: 2015-12-05
- tags: node.js, testing, unit-testing, sinonjs
Sinon.JS
Standalone test spies, stubs and mocks for JavaScript. Works with any unit testing framework.
- tags: javascript, node.js, unit-testing, testing, sinonjs
- :octocat: source code