Summary
In this chapter, we explored the world of testing.
We tried to give you a fairly comprehensive overview of testing, especially unit testing, which is the most common type of testing a developer does. We hope we have succeeded in conveying the message that testing is not something that is perfectly defined and that you can learn from a book. You need to experiment with it for a significant amount of time before you get comfortable. Of all the efforts a coder must make in terms of study and experimentation, we would say testing is amongst the most important.
In the next chapter, we are going to explore debugging and profiling, which are techniques that go hand in hand with testing and are crucial to learn well.