Chapter 7. Building reliable applications

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.

7.1. Why should we test software?

There are two approaches to writing software that works as it should: correct by design and correct through testing. Those in the former camp ...

Get Grails in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.