concept microservice architecture in category java

appears as: microservice architecture, microservices architecture, microservice architectures, microservices architectures
Testing Java Microservices: Using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito

This is an excerpt from Manning's book Testing Java Microservices: Using Arquillian, Hoverfly, AssertJ, JUnit, Selenium, and Mockito.

In this section, we present what we believe is a reasonably good interpretation of the currently available answers to these questions. What you learn will provide a solid basis for understanding the microservice architecture, but expect innovation over time. We won’t make any predictions: as stated, our principle focus for the book is testing microservices, which is unlikely to change in any significant way.

It isn’t important that you fully understand the microservice architecture at this point. But if, after reading this chapter, the term microservice is still a dark void for you, we encourage you to gather more information from your own sources.

Figure 5.3. Layers to write integration tests for in a microservice architecture

We hope this book has broadened your insight and expanded your skill set for developing tests for a microservices architecture. The purpose of these tests is to enable changes to any service with the certainty that no regression has been introduced when you refactor, fix bugs, or add a new feature.

The questions now are when to execute the tests, where to execute them, and how the tests are related to the deployment of the production service. In this chapter, you’ll see how the traditional continuous delivery (CD) pipeline has evolved to serve a microservices architecture, and how to build a pipeline programmatically that focuses on test execution.

As you can see, release automation in a microservices architecture has the same requirements as any other application: being able to deploy with certainty and speed.