17
Unit and Performance Testing
The importance of thoroughly testing our code cannot be overstated; moreover, this testing should be efficient. As our systems grow in complexity and scale, it becomes increasingly critical for us to ensure that every component of our software functions accurately and efficiently. This is where unit and performance testing comes into play. This is the focus of this chapter.
The chapter starts by covering unit testing, which we use to verify individual units of code. The goal is to ensure that the units perform efficiently and as expected. Through unit testing, we can catch anomalies (bugs) early, before the code is deployed into a production environment. Performance testing is introduced as a complementary process, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access