Home // ICSEA 2021, The Sixteenth International Conference on Software Engineering Advances // View article


A Test Concept for the Development of Microservice-based Applications

Authors:
Michael Schneider
Stephanie Zieschinski
Hristo Klechorov,
Lukas Brosch
Patrick Schorsten
Sebastian Abeck
Christof Urbaczek

Keywords: microservices; development process; behavior-driven development; test pyramid; test concept; code quality; CI/CD

Abstract:
A microservice-based application is composed of several distributed microservices. When developing the microservices of the application, it is important to test that the requirements are met and that the application works as intended. Especially end-to-end tests require all involved microservices to be available for testing. A common way is to execute the tests via a continuous integration / continuous delivery pipeline. In this paper, we present a test concept for developing microservice-based applications which covers the different test types according to the test pyramid, from end-to-end, integration tests, and consumer-driven contract to unit tests. The test concept considers the entire test pyramid as part of the microservice engineering process. Furthermore, we show how the test concept can be executed during the development process using a continuous integration / continuous delivery pipeline by the example of a PredictiveCarMaintenance application.

Pages: 88 to 97

Copyright: Copyright (c) IARIA, 2021

Publication date: October 3, 2021

Published in: conference

ISSN: 2308-4235

ISBN: 978-1-61208-894-5

Location: Barcelona, Spain

Dates: from October 3, 2021 to October 7, 2021