Chapter 1: Principles of Testing
Learning Objectives
By the end of this chapter, you should be able to
- Understand when you need to write tests and when you don’t
Identify methods that have side effects and how that impacts testability - Understand how to write a testable method.
- Establish the practice/habit of understanding expectations/requirements of all units of code BEFORE writing that code.
- Recognize value of regular periodic testing to avoid accumulating bug debt.
- Apply test driven development and debugging in development of data structures