使用AgileUML进行基于ocl的测试用例优先级划分

Kunxiang Jin, K. Lano
{"title":"使用AgileUML进行基于ocl的测试用例优先级划分","authors":"Kunxiang Jin, K. Lano","doi":"10.1145/3550356.3561593","DOIUrl":null,"url":null,"abstract":"Test Case Prioritisation (TCP) aims to enhance fault detection ability by re-ordering test cases for execution. TCP techniques have been widely studied in the software engineering literature for decades. However, we found a lack of research applicable to the specification of systems expressed in the Object Constraint Language (OCL). OCL is a declarative language that can model the corresponding software systems. Performing TCP at the specification level is a promising practice. It enables the TCP process to be performed once, and the results can be used for all implementation of specifications in different programming languages or platforms. Inspired by the searching ability of the Genetic Algorithm (GA), we apply GA to perform the TCP process for OCL specifications in this work. We use the AgileUML tool to support the prioritisation process. In particular, this tool can generate test cases and mutations from the original OCL specification directly. We have performed three case studies upon real-world OCL specifications to assess our idea. The evaluation results show that the system defects can be detected more effectively by the prioritised test suite, also with a reasonable overhead.","PeriodicalId":182662,"journal":{"name":"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings","volume":"48 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"OCL-based test case prioritisation using AgileUML\",\"authors\":\"Kunxiang Jin, K. Lano\",\"doi\":\"10.1145/3550356.3561593\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Test Case Prioritisation (TCP) aims to enhance fault detection ability by re-ordering test cases for execution. TCP techniques have been widely studied in the software engineering literature for decades. However, we found a lack of research applicable to the specification of systems expressed in the Object Constraint Language (OCL). OCL is a declarative language that can model the corresponding software systems. Performing TCP at the specification level is a promising practice. It enables the TCP process to be performed once, and the results can be used for all implementation of specifications in different programming languages or platforms. Inspired by the searching ability of the Genetic Algorithm (GA), we apply GA to perform the TCP process for OCL specifications in this work. We use the AgileUML tool to support the prioritisation process. In particular, this tool can generate test cases and mutations from the original OCL specification directly. We have performed three case studies upon real-world OCL specifications to assess our idea. The evaluation results show that the system defects can be detected more effectively by the prioritised test suite, also with a reasonable overhead.\",\"PeriodicalId\":182662,\"journal\":{\"name\":\"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings\",\"volume\":\"48 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-10-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3550356.3561593\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 25th International Conference on Model Driven Engineering Languages and Systems: Companion Proceedings","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3550356.3561593","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

测试用例优先级(TCP)旨在通过重新排序测试用例来提高故障检测能力。几十年来,TCP技术在软件工程文献中得到了广泛的研究。然而,我们发现缺乏适用于用对象约束语言(OCL)表达的系统规范的研究。OCL是一种声明性语言,可以对相应的软件系统进行建模。在规范级别执行TCP是一个很有前途的实践。它使TCP进程只执行一次,其结果可用于不同编程语言或平台的所有规范实现。受遗传算法(GA)搜索能力的启发,本文将遗传算法应用于OCL规范的TCP处理。我们使用AgileUML工具来支持优先级划分过程。特别是,该工具可以直接从原始OCL规范生成测试用例和突变。我们对现实世界的OCL规范进行了三个案例研究,以评估我们的想法。评估结果表明,通过优先化的测试套件可以更有效地检测系统缺陷,并且开销合理。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
OCL-based test case prioritisation using AgileUML
Test Case Prioritisation (TCP) aims to enhance fault detection ability by re-ordering test cases for execution. TCP techniques have been widely studied in the software engineering literature for decades. However, we found a lack of research applicable to the specification of systems expressed in the Object Constraint Language (OCL). OCL is a declarative language that can model the corresponding software systems. Performing TCP at the specification level is a promising practice. It enables the TCP process to be performed once, and the results can be used for all implementation of specifications in different programming languages or platforms. Inspired by the searching ability of the Genetic Algorithm (GA), we apply GA to perform the TCP process for OCL specifications in this work. We use the AgileUML tool to support the prioritisation process. In particular, this tool can generate test cases and mutations from the original OCL specification directly. We have performed three case studies upon real-world OCL specifications to assess our idea. The evaluation results show that the system defects can be detected more effectively by the prioritised test suite, also with a reasonable overhead.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信