In this chapter
- Why you should do testing
- How to test different parts of your application
- Choosing between different testing strategies
We’ve introduced all the main components of a Grails application, and you have learned more than enough to start developing some useful and usable applications. You’re probably highly motivated to get coding and experimenting! And while your motivation is high, it makes sense to take a step back and look at how you can improve the quality and reliability of your applications through testing.
There are two approaches to writing software that works as it should: correct by design and correct through testing. Those in the former camp ...