This course contains 22 interactive scrims
22 lessons1 hour 26 min
Introduction to Jasmine
The 3 parts of testing
The testing setup
Grouping with describe
Setting up data
I teach tens of thousands of students monthly about web development.Follow me on twitter
Unit testing is in high demand, with good reason!
Testing your code allows you to check that your logic works as expected every time, giving you code confidence, lowering stress levels, and allowing you to deliver faster results.
This course covers test grouping, test cases, debugging tests with focus, spies and more in just one hour, and contains plenty of challenges to cement your new knowledge.
You’ll also learn about the 3 A’s (Arrange, Act, Assert), and, of course, write plenty of tests.
The earlier you start incorporating unit tests into your code base, the better - but it’s never too late. That means that this course is suitable for both newbie coders and those already working in the field who want to level up.
Knowledge of Unit Testing removes coding doubts, leads to faster development, and reduces bugs, so do your future self a favor and learn Unit Testing today.
Unit testing is a skill which many employers are looking for. Not only that, the ability to write effective tests will make your coding more efficient, cleaner, and less stressful.
It's never too early to start unit testing. Regardless of whether you are just starting out or already an established coder, the time to start testing is now.