基于业务流约束从UML活动图生成测试用例

Walaithip Thanakorncharuwit, Suwatchai Kamonsantiroj, Luepol Pipanmaekaporn
{"title":"基于业务流约束从UML活动图生成测试用例","authors":"Walaithip Thanakorncharuwit, Suwatchai Kamonsantiroj, Luepol Pipanmaekaporn","doi":"10.1145/3033288.3033311","DOIUrl":null,"url":null,"abstract":"Test case generation is the most important part of software testing. More than 50 percent of the cost and time are spent on testing the software development. Currently, researchers have used the UML activity for test case generation. However, finding a test case set from an activity diagram is a terrible task. Because the presence of loop and concurrent activities in the activity diagram result in path explosion and practically, it is not feasible to consider all execution paths for testing. In this paper, we proposed a novel approach to generate test cases using a modified DFS with tester specification to avoid the path explosion. Tester specifications follow the business flow constraints. In order to evaluate the quality of test cases, activity coverage, transition coverage, and key path coverage are measured. The proposed approach shows that the result paths of an activity diagram cover both true and false values of loop condition and helps to avoid generating all possible concurrent activity paths as it only returns one representative path.","PeriodicalId":253625,"journal":{"name":"International Conference on Network, Communication and Computing","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-12-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":"{\"title\":\"Generating Test Cases from UML Activity Diagram Based on Business Flow Constraints\",\"authors\":\"Walaithip Thanakorncharuwit, Suwatchai Kamonsantiroj, Luepol Pipanmaekaporn\",\"doi\":\"10.1145/3033288.3033311\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Test case generation is the most important part of software testing. More than 50 percent of the cost and time are spent on testing the software development. Currently, researchers have used the UML activity for test case generation. However, finding a test case set from an activity diagram is a terrible task. Because the presence of loop and concurrent activities in the activity diagram result in path explosion and practically, it is not feasible to consider all execution paths for testing. In this paper, we proposed a novel approach to generate test cases using a modified DFS with tester specification to avoid the path explosion. Tester specifications follow the business flow constraints. In order to evaluate the quality of test cases, activity coverage, transition coverage, and key path coverage are measured. The proposed approach shows that the result paths of an activity diagram cover both true and false values of loop condition and helps to avoid generating all possible concurrent activity paths as it only returns one representative path.\",\"PeriodicalId\":253625,\"journal\":{\"name\":\"International Conference on Network, Communication and Computing\",\"volume\":\"10 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-12-17\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"10\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Network, Communication and Computing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3033288.3033311\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Network, Communication and Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3033288.3033311","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

摘要

测试用例生成是软件测试中最重要的部分。超过50%的成本和时间花费在测试软件开发上。目前,研究人员已经使用UML活动来生成测试用例。然而,从活动图中找到测试用例集是一项可怕的任务。因为活动图中循环和并发活动的存在会导致路径爆炸,实际上,考虑所有的执行路径进行测试是不可行的。在本文中,我们提出了一种新的方法来生成测试用例使用改进的DFS与测试人员的规格,以避免路径爆炸。测试人员规范遵循业务流约束。为了评估测试用例的质量,活动覆盖率、转换覆盖率和关键路径覆盖率都要进行测量。所提出的方法表明,活动图的结果路径涵盖了循环条件的真值和假值,并有助于避免生成所有可能的并发活动路径,因为它只返回一个代表性路径。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Generating Test Cases from UML Activity Diagram Based on Business Flow Constraints
Test case generation is the most important part of software testing. More than 50 percent of the cost and time are spent on testing the software development. Currently, researchers have used the UML activity for test case generation. However, finding a test case set from an activity diagram is a terrible task. Because the presence of loop and concurrent activities in the activity diagram result in path explosion and practically, it is not feasible to consider all execution paths for testing. In this paper, we proposed a novel approach to generate test cases using a modified DFS with tester specification to avoid the path explosion. Tester specifications follow the business flow constraints. In order to evaluate the quality of test cases, activity coverage, transition coverage, and key path coverage are measured. The proposed approach shows that the result paths of an activity diagram cover both true and false values of loop condition and helps to avoid generating all possible concurrent activity paths as it only returns one representative path.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信