"

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

License

Icon for the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

Computer Science II Copyright © by Various is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License, except where otherwise noted.