Setup a new project that is ready for unit testing
Create programs following the TDD (Test Driven Development) patterns
Learn how to write more reliable and robust code
Learn how to expand your test suites with mocks, stubs and spies
Learn the use of spies and when to use them
Learn the use of stubs and when to use them
Learn the use of mocks and when to use them
6 sections • 14 lectures • 40m total length
Unit Testing Basics
What is Mocha?
Using Mocha to prepare a test suite
What is Chai?
Chai - Should
Chai - Expect
Chai - Assert
What is Sinon?
Sinon - Spies
Sinon - Stubs
Sinon - Mocks
Unit Testing Quiz
A computer with an internet connection
Alot of employers are starting to require TDD knowledge and so why not get started here?
Who this course is for:
Anyone looking to learn how to write unit tests for their code
Anyone who wants to start writing more reliable and robust code