Behavior-Driven Development of Microservice Applications

Tugkan Tuglular, D. Coşkun, Ömer Gülen, Arman Okluoğlu, Kaan Algan
{"title":"Behavior-Driven Development of Microservice Applications","authors":"Tugkan Tuglular, D. Coşkun, Ömer Gülen, Arman Okluoğlu, Kaan Algan","doi":"10.46300/9108.2021.15.20","DOIUrl":null,"url":null,"abstract":"As the number of microservice applications rises, different development methodologies for them are under consideration. In this manuscript, we propose a behavior-driven development method for microservice applications. The proposed method starts with writing end-to-end tests at the system or application level and then moves down to the microservice level, where component and unit tests are written. Next, code that passes these tests is developed one by one for each level. Once user stories are covered, our method loops again to integrate negative tests to achieve holistic testing for the microservices and the application. Finally, the proposed method is validated with an application with five microservices. Results confirm that the proposed method matches with the generally accepted test pyramid.","PeriodicalId":89779,"journal":{"name":"International journal of computers in healthcare","volume":"2 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2021-12-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International journal of computers in healthcare","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46300/9108.2021.15.20","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

As the number of microservice applications rises, different development methodologies for them are under consideration. In this manuscript, we propose a behavior-driven development method for microservice applications. The proposed method starts with writing end-to-end tests at the system or application level and then moves down to the microservice level, where component and unit tests are written. Next, code that passes these tests is developed one by one for each level. Once user stories are covered, our method loops again to integrate negative tests to achieve holistic testing for the microservices and the application. Finally, the proposed method is validated with an application with five microservices. Results confirm that the proposed method matches with the generally accepted test pyramid.
微服务应用的行为驱动开发
随着微服务应用程序数量的增加,不同的开发方法也在考虑之中。在本文中,我们为微服务应用程序提出了一种行为驱动的开发方法。建议的方法首先在系统或应用程序级别编写端到端测试,然后向下移动到微服务级别,在那里编写组件和单元测试。接下来,为每个级别逐个开发通过这些测试的代码。一旦覆盖了用户场景,我们的方法将再次循环以集成负面测试,以实现对微服务和应用程序的整体测试。最后,通过一个包含五个微服务的应用验证了该方法的有效性。结果表明,所提出的方法与普遍接受的测试金字塔相匹配。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信