Chapter 8: Testing APIs

In this chapter, we will learn about how to manually and automatically test APIs. First, you will learn about automating unit and integration tests. After learning about these forms of automation, you will be able to make both types of testing an integral part of any build. You will also learn how to set up the Java Code Coverage tool to calculate different code coverage metrics.

In this chapter, we will cover the following topics:

  • Manual testing
  • Integration testing automation

This chapter will help you learn about test automation by showing you how to implement unit and integration test automation. You will also learn how to set up code coverage using the Java Code Coverage (JaCoCo) tool.

Technical requirements

You ...

Get Modern API Development with Spring and Spring Boot 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.