Learn Javascript Unit Testing With Mocha, Chai and Sinon
What you'll learn
- Write unit tests using Mocha, Chai and Sinon
- 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
Requirements
- Basic JavaScript knowledge
- A computer with an internet connection
Description
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?
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
Instructor
Hi, My name is Tyler Pedley and I am an embedded software developer however I also lead a team of developers for a company working on multiple web / NodeJS projects. I always develop with agile in mind and have a great experience with agile. Mainly my courses will be on agile practices such as TDD/BDD however I also will teach NodeJs, TypeScript and JavaScript