Chapter 7. Testing with Gradle

This chapter covers

  • Understanding automated testing
  • Writing and executing tests with different frameworks
  • Configuring and optimizing test execution behavior
  • Supporting unit, integration, and functional tests in your build

In the previous chapters, you implemented a simple but fully functional web application and learned how to build and run it using Gradle. Testing your code is an important activity of the software development lifecycle. It ensures the quality of your software by checking that it works as expected. In this chapter, we’ll focus on Gradle’s support for organizing, configuring, and executing test code. In particular, you’ll write unit, integration, and functional tests for your To Do application ...

Get Gradle 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.