Learn how to use Sinon.js in your own real-world projects

Hey! Thanks for reading my article :)

Sinon is one of the most powerful tools for testing your JavaScript code. But the problem is... with so much power, how can you know you're using it right?

To help you master Sinon and learn how to use it in practice, I've created the Sinon in the Real-world guide.

In this 26 page guide, I'll show you...
  • Three real-life examples on how to use Sinon in different scenarios
  • How to test Ajax with Sinon
  • How to test Node.js HTTP with Sinon
  • How to test timers with Sinon
  • When and why to use different types of test-doubles?
  • The 5 Sinon.js best practices so you can avoid common problems

Your name and email are only used to send the occasional JavaScript-related email from me. No spam. You can unsubscribe at any time.