Sinon.js Tutorial - How to Write Unit Tests Using Sinon.js

Subscribers:
58,000
Published on ● Video Link: https://www.youtube.com/watch?v=Qlmv7nox5pM



Category:
Tutorial
Duration: 15:05
33,670 views
385


Learn more advanced front-end and full-stack development at: https://www.fullstackacademy.com

In this Sinon.js Tutorial, we give an overview of the Sinon.js library and how it can be a great tool for creating unit tests. We show code examples of test doubles such as spies, stubs, and mocks, and give advice on when to use each type of test double.

Watch this video to learn:

- What is Sinon.js
- What are spies, stubs, and mocks and why use them
- Best practices with Sinon.js







Tags:
Sinon.js
Sinon.js Tutorial
How to Write Unit Tests
test doubles