Automating Integration Testing of Large-Scale Publish/Subscribe Systems

Éric Piel, Alberto González-Sanchez, H. Groß
{"title":"Automating Integration Testing of Large-Scale Publish/Subscribe Systems","authors":"Éric Piel, Alberto González-Sanchez, H. Groß","doi":"10.4018/978-1-60566-697-6.CH007","DOIUrl":null,"url":null,"abstract":"Publish/subscribe systems are event-based systems separated into several components which publish and subscribe events that correspond to data types. Testing each component individually is not sufficient for testing the whole system; it also requires testing the integration of those components together. In this chapter, first we identify the specificities and difficulties of integration testing of publish/subscribe systems. Afterwards, two different and complementary techniques to test the integration are presented. One is based on the random generation of a high number of event sequences and on generic oracles, in order to find a malfunctioning state of the system. The second one uses a limited number of predefined data-flows which must respect a precise behaviour, implementable with the same mechanism as unit-testing. As event-based systems are well fitted for runtime modification, the particularities of runtime testing are also introduced, and the usage in the context of integration testing is detailed. A case study presents an example of integration testing on a small system inspired by the systems used in the maritime safety and security domain.","PeriodicalId":253133,"journal":{"name":"Principles and Applications of Distributed Event-Based Systems","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Principles and Applications of Distributed Event-Based Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/978-1-60566-697-6.CH007","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

Publish/subscribe systems are event-based systems separated into several components which publish and subscribe events that correspond to data types. Testing each component individually is not sufficient for testing the whole system; it also requires testing the integration of those components together. In this chapter, first we identify the specificities and difficulties of integration testing of publish/subscribe systems. Afterwards, two different and complementary techniques to test the integration are presented. One is based on the random generation of a high number of event sequences and on generic oracles, in order to find a malfunctioning state of the system. The second one uses a limited number of predefined data-flows which must respect a precise behaviour, implementable with the same mechanism as unit-testing. As event-based systems are well fitted for runtime modification, the particularities of runtime testing are also introduced, and the usage in the context of integration testing is detailed. A case study presents an example of integration testing on a small system inspired by the systems used in the maritime safety and security domain.
大规模发布/订阅系统的自动化集成测试
发布/订阅系统是基于事件的系统,分为几个组件,这些组件发布和订阅与数据类型对应的事件。单独测试每个组件不足以测试整个系统;它还需要测试这些组件的集成。在本章中,我们首先确定发布/订阅系统集成测试的特殊性和难点。然后,介绍了两种不同的、互补的集成测试技术。一种是基于大量事件序列的随机生成和通用预言,以发现系统的故障状态。第二种方法使用有限数量的预定义数据流,这些数据流必须遵循精确的行为,可通过与单元测试相同的机制实现。由于基于事件的系统非常适合运行时修改,本文还介绍了运行时测试的特点,并详细介绍了在集成测试环境中的使用。一个案例研究给出了一个小系统的集成测试的例子,该系统的灵感来自于海上安全和安保领域中使用的系统。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信