There never seems to be enough time in the day to write additional code for testing your code. I have to admit that I am not a test first developer by nature. However, I do understand the importance and value that tests provide. Tests can be written and run whenever we add new functionality to our code. This will quickly let us know if our changes break any of the previously existing functionality. Drupal 7 includes a testing framework called SimpleTest that makes writing tests for Drupal easier.
The following topics will be covered in this chapter: