5

Making Your Application Testable

The Cargo Tracker application already has unit tests and good test coverage. That doesn’t mean that your current project or the next one is the same. It could be the case that your current project doesn’t have unit tests or a low test coverage.

Having a low test coverage or not enough unit tests could impose a thread. What if something changes during a migration and no longer works? How are you going to know if something broke? That’s when all kinds of different types of tests come in. In this chapter, you will learn how to create different kinds of tests that test different kinds of aspects of your application.

We’re going to cover the following main topics:

  • The impact of testing on your migration
  • Measuring ...

Get Cloud-Native Development and Migration to Jakarta EE 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.