The Purpose of Code Tests: Clarity of Thought
Understand the role of code testing in building confidence and clarity in software development. This lesson explores how good tests can prevent bugs, support clear thinking, and help you develop more reliable and maintainable code.
We'll cover the following...
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.
When testing our application, ...