
In this video I will show you how to test a new node project ready for us to use to create a test suite.
In this video you will learn about Unit Testing and see some examples of real unit tests. You will understand what unit tests are and why they are important
A quick introducing to MochaJS to prepare for the next video where we will use Mocha to create a test suite
In this video I take you over the creation of a test suite for a simple calculator app and explain what each part of the suite does. We create a foundation for the following videos
An introduction to Chai and why it is so popular. I give an overview of the library and what it is used for
In this course you will learn the basics of the test driven development workflow and I will show you the best practices for using TDD. You will learn how to use Mocha, Chai and Sinon together to test your Javascript code giving you peace of mind that your code works as expected. After completing this course you will be able to extensively test your nodejs applications and websites. I will also show you each of the different styles for writing unit tests so that you can use the one that you like the best.
Alot of employers are starting to require TDD knowledge and so why not get started here?