White-box testing is a verification technique software engineers can use to examine if their code works as expected. In this chapter, we will explain the following: *a method for writing a set of white-box test cases that exercise the paths in the code *the use of equivalence partitioning