Chapter 8. More TestingThis chapter focuses Chapter 3 drive the tests. These tests communicate the tasks being carried out. We learned how the tests support the refactoring techniques we learned in Chapter 5. The refactoring aims to simplify the code. In Chapter 6, we discovered how we can encode new knowledge into tests. These tests validate whether this knowledge is still correct each time they are run. The tests communicate the learned knowledge. In Chapter 7, we discovered how the tests running repeatedly on a build or integration machine provide the team with visible feedback as to the state of the system. The tests support three values we learned were important in Chapter 1: communication, simplicity, and feedback. Because testing is so important, this chapter returns to it again to explain some extra techniques we can use for developing our tests. |