A Novel Model-Driven Framework for Software and System Testing

Z. Javed, M. Mohammadian
{"title":"A Novel Model-Driven Framework for Software and System Testing","authors":"Z. Javed, M. Mohammadian","doi":"10.1109/ISCON47742.2019.9036210","DOIUrl":null,"url":null,"abstract":"One of the oldest yet still not satisfactorily solved problems of reusing existing software components is the unexpected behaviour of the components in component-based software. The reason is that these components are adequately tested for the present situation, that is, within the context they are supposed to be deployed at the moment, but hardly take into account all potentially possible contexts in which they might be deployed in the future. Thus, we must test a component for the context in which it is being reused. We propose an MDA-based framework to perform context-dependent testing of a component (MD-CDT). In MD-CDT, we model the component's usage, in the component-based software, using use cases and interaction diagrams. The test cases for context-dependent testing of the component are automatically generated from these scenarios using a MDA-based tool. We then evaluate the adequacy of these test cases by comparing them with the test suite that component developer had used to perform component testing at the time of component development which is provided as metadata. This comparison identifies weaknesses of component testing which assist us in devising test cases to test the component's functionality which was not fully tested during component testing. Finally, we test the component for the new context by executing the enriched test suite. This approach is novel in that it uses the test suite, which was executed by component developer, to determine the adequacy of the component testing. Another novelty of this approach is the use of the model-driven technology for performing context-dependent testing of components which makes our framework portable, interoperable and maintainable. We provide a prototype implementation of MD-CDT. We evaluate MD-CDT and the prototype tool on Lucene search engine.","PeriodicalId":124412,"journal":{"name":"2019 4th International Conference on Information Systems and Computer Networks (ISCON)","volume":"30 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 4th International Conference on Information Systems and Computer Networks (ISCON)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISCON47742.2019.9036210","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

One of the oldest yet still not satisfactorily solved problems of reusing existing software components is the unexpected behaviour of the components in component-based software. The reason is that these components are adequately tested for the present situation, that is, within the context they are supposed to be deployed at the moment, but hardly take into account all potentially possible contexts in which they might be deployed in the future. Thus, we must test a component for the context in which it is being reused. We propose an MDA-based framework to perform context-dependent testing of a component (MD-CDT). In MD-CDT, we model the component's usage, in the component-based software, using use cases and interaction diagrams. The test cases for context-dependent testing of the component are automatically generated from these scenarios using a MDA-based tool. We then evaluate the adequacy of these test cases by comparing them with the test suite that component developer had used to perform component testing at the time of component development which is provided as metadata. This comparison identifies weaknesses of component testing which assist us in devising test cases to test the component's functionality which was not fully tested during component testing. Finally, we test the component for the new context by executing the enriched test suite. This approach is novel in that it uses the test suite, which was executed by component developer, to determine the adequacy of the component testing. Another novelty of this approach is the use of the model-driven technology for performing context-dependent testing of components which makes our framework portable, interoperable and maintainable. We provide a prototype implementation of MD-CDT. We evaluate MD-CDT and the prototype tool on Lucene search engine.
一种新的软件和系统测试模型驱动框架
在基于组件的软件中,组件的意外行为是重用现有软件组件的最古老的问题之一,但仍然没有得到满意的解决。原因是这些组件针对当前情况进行了充分的测试,也就是说,在当前应该部署它们的上下文中,但几乎没有考虑到将来可能部署它们的所有潜在可能的上下文中。因此,我们必须在组件被重用的上下文中测试它。我们提出了一个基于mda的框架来执行组件的上下文相关测试(MD-CDT)。在MD-CDT中,我们在基于组件的软件中使用用例和交互图对组件的使用进行建模。组件的上下文相关测试用例是使用基于mda的工具从这些场景中自动生成的。然后,我们通过将这些测试用例与组件开发人员在作为元数据提供的组件开发时用于执行组件测试的测试套件进行比较,来评估这些测试用例的充分性。这种比较确定了组件测试的弱点,帮助我们设计测试用例来测试组件的功能,这些功能在组件测试期间没有得到充分的测试。最后,我们通过执行丰富的测试套件来测试新上下文的组件。这种方法的新颖之处在于,它使用由组件开发人员执行的测试套件来确定组件测试的充分性。这种方法的另一个新颖之处是使用模型驱动技术来执行组件的上下文相关测试,这使得我们的框架具有可移植性、互操作性和可维护性。我们提供了一个MD-CDT的原型实现。我们在Lucene搜索引擎上对MD-CDT和原型工具进行了评估。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信