Introduction
Testing is what really differentiates professional software from amateur software. From industry experience and studies, it has been discovered that much of the cost of software lies in correcting bugs while the software is in production. Testing software reduces bugs in production and makes correcting those bugs much less expensive.
In this chapter, you will learn how to set up your test harness and how to write unit tests and integration tests that will help speed up your app development and help it grow in complexity without leaving bugs behind.
You will gain familiarity with the most popular testing framework and slang; after completing the recipes, you will be able to confidently ship software that works just as expected.