The Purpose of Code Tests: Clarity of Thought

Learn when clarity of thought is important in coding exercises.

We'll cover the following

Approach to testing

In this chapter, an opinionated approach to testing is described, with the intent of focusing on building confidence in our code rather than checking boxes or tracking coverage metrics.

Good tests help us have confidence in the correctness of our code, but bad testing practice wastes time and makes it harder to refactor your code.

Get hands-on with 1200+ tech skills courses.