Chapter 7. End-to-end testing

This chapter covers

  • End-to-end testing of microservice applications
  • Tools for end-to-end testing
  • Setting up Arquillian for end-to-end tests

End-to-end tests build on integration tests, which in turn build on all the other forms of testing you’ve learned about. As the name indicates, end-to-end tests are designed to test your application from start to finish (or top to bottom, if you prefer). They should in theory simulate a real-world user of your application, or at least perform the actions of a real user. In practice, these tests are usually the most difficult to write and consume the most development time. End-to-end tests are nearly always slow in comparison to other types of tests, so they’re often isolated ...

Get Testing Java Microservices 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.