Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.84 KB

sinonjs.md

File metadata and controls

25 lines (21 loc) · 1.84 KB

Bookmarks tagged [sinonjs]

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.


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.


http://sinonjs.org/

Standalone test spies, stubs and mocks for JavaScript. Works with any unit testing framework.