Volume 18 Number 2 (May. 2023)
Home > Archive > 2023 > Volume 18 Number 2 (May. 2023) >
JSW 2023 Vol.18(2): 55-69
doi: 10.17706/jsw.18.2.55-69

Creation of a Framework and a Corresponding Tool Enabling the Test-Driven Development of Microservices

Christian Daase*, Daniel Staegemann, Matthias Volk, Klaus Turowski

Institute of Technical and Business Information Systems, Faculty of Computer Science, Otto von Guericke University Magdeburg, Germany.

Abstract—Microservice architectures have emerged as counter design to traditional monolithic applications. While monoliths are single executable applications, microservice architectures consist of several smaller units. Advantages of microservice architectures are their development speed, lower costs of change, and dynamic scaling ability. However, this pattern requires an adaptation of quality assurance measures. In this research article, test-driven development is investigated in context of microservices that are developed according to established practices. Based on the systems development research methodology, recommendable practices and testing strategies are examined with a translation of that knowledge into an extensive artifact, enabling test-driven microservice development on local systems. Five design principles could be identified, including focusing small services, domain-driven design, striving for low-complexity networks, avoiding cyclic dependencies, and aiming for high connectivity performance. Integration, component, and contract tests could be integrated for automatic execution, showing that test-driven development for microservices is feasible, although with room for improvements.

Index Terms—Design science research, microservice, software engineering, test-driven development.

[PDF]

Cite: Christian Daase*, Daniel Staegemann, Matthias Volk, Klaus Turowski, "Creation of a Framework and a Corresponding Tool Enabling the Test-Driven Development of Microservices," Journal of Software vol. 18, no. 2, pp. 55-69, 2023.

Copyright © 2023 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0)

General Information

ISSN: 1796-217X (Online)
Frequency:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]