Answer 1

The integration tests for microservices are written in mostly the same way as those for monolithic applications, with the following few differences:

  • If the microservice needs to communicate with some another external microservice, then the integration test might need to have the external service set up so as to properly execute the test case
  • The components that comprise the individual service should be set up for all of the microservices in place in the infrastructure—for example, a database that accompanies a particular microservice that is needed for testing purposes
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.19.174