March 2024
Intermediate to advanced
288 pages
7h 49m
English
This part of the book covers the basics of unit testing.
In chapter 1, I’ll define what a “unit” is and what “good” unit testing means, and I’ll compare unit testing with integration testing. Then we’ll look at test-driven development and its role in relation to unit testing.
You’ll take a stab at writing your first unit test using Jest (a common JavaScript test framework) in chapter 2. You’ll get to know Jest’s basic API, how to assert things, and how to execute tests continuously.
Read now
Unlock full access