Chapter 12. Testing your application

This chapter covers

  • An introduction to testing with Play
  • Explaining the different levels of testing
  • Unit, functional, and integration testing with Play and JUnit
  • Browser testing with Play and Selenium

Now that we have a complete application, we need to start thinking about further development and maintenance. But as you evolve your application, new bugs may creep into your code, and changes in external factors may introduce errors in your application even if you never touch it.

Automated testing is an invaluable tool when you want to make sure that your application still works like you expect it to. In addition, automated tests also help you during development—they allow you to verify that your code ...

Get Play for Java 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.