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

Christian Daase, D. Staegemann, M. Volk, K. Turowski
{"title":"Creation of a Framework and a Corresponding Tool Enabling the Test-Driven Development of Microservices","authors":"Christian Daase, D. Staegemann, M. Volk, K. Turowski","doi":"10.17706/jsw.18.2.55-69","DOIUrl":null,"url":null,"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.","PeriodicalId":11452,"journal":{"name":"e Informatica Softw. Eng. J.","volume":"62 1","pages":"55-69"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"e Informatica Softw. Eng. J.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.17706/jsw.18.2.55-69","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
创建框架和相应的工具,支持微服务的测试驱动开发
微服务架构的出现是为了对抗传统的单片应用。虽然单体是单个可执行应用程序,但微服务架构由几个较小的单元组成。微服务架构的优势在于它们的开发速度、较低的变更成本和动态扩展能力。然而,这种模式需要对质量保证措施进行调整。在这篇研究文章中,测试驱动开发是在根据既定实践开发的微服务上下文中进行研究的。基于系统开发研究方法,推荐的实践和测试策略被检查,并将这些知识转化为广泛的工件,从而在本地系统上实现测试驱动的微服务开发。可以确定五个设计原则,包括关注小型服务、领域驱动设计、努力实现低复杂性网络、避免循环依赖以及以高连接性能为目标。集成、组件和契约测试可以集成以实现自动执行,这表明微服务的测试驱动开发是可行的,尽管还有改进的空间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
The Effect of Performance-Based Compensation on Crowdsourced Human-Robot Interaction Experiments Accelerated Defect Discovery and Reliability Improvement through Risk-Prioritized Testing for Web Applications Idle Strategy of Smart Monkey to Enhance Testing Operable GUI Regions Accessibility-as-a-Service an Open-Source Reading Assistive Tool for Education Research on the Application of SAE ARP 4754A in the Development of High-Speed Trains
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1