Integration testing tests the interactions between the individual software components in a system. It helps you uncover faults with the integrated components of a system earlier in the lifecycle. In this section, you will learn how to develop and run integration tests for a JAX-RS web application.
A typical JAX-RS web application is comprised of various software components, such as databases, the persistence layer, business service implementation, and the client interface layer. The integration tests that you write for a JAX-RS application should test the interaction between all these components when putting them together to build the complete application.
Unit testing versus integration testing
A unit test is typically a test written by developers to verify a relatively small piece of code, and it should not depend upon...
A unit test is typically a test written by developers to verify a relatively small piece of code, and it should not depend upon...