回归测试优化过程中的测试用例生成和历史数据分析:一项NLP研究

IF 2.1 Q2 ENGINEERING, MULTIDISCIPLINARY Cogent Engineering Pub Date : 2023-11-12 DOI:10.1080/23311916.2023.2276495
Atulya Gupta, Rajendra Prasad Mahapatra
{"title":"回归测试优化过程中的测试用例生成和历史数据分析:一项NLP研究","authors":"Atulya Gupta, Rajendra Prasad Mahapatra","doi":"10.1080/23311916.2023.2276495","DOIUrl":null,"url":null,"abstract":"The generation of test cases to verify and validate the actions of software or an application, as per the customers’ requirements, is an indispensable activity in software industries. A tester could construct test cases to suffice various objectives, which could be random or task-oriented at times. Most of the time, test cases are generated based on clients’ specifications or requirements. These requirements are structured in natural language, and manual derivation of test cases from such client-stated requirements could be a cumbersome and time-absorbing activity for testers. Until recently, many practitioners have proposed a natural language processing (NLP)-oriented solution to automate or semi-automate the manual process of generating test cases from requirements; nevertheless, such studies imposed a restriction on how the clients should document or represent their requirements. This study, on the contrary, suggested an NLP solution that considers free-format user requirements and applies text pre-processing, a combination of dependency parser and RAKE process, along with a statistical similarity measure and template-based natural language generation (NLG) to translate them into detailed test cases. Apart from test case generation, with the aid of NLP tactics, this study has also proposed a solution for encoding the historical data of test cases into numerical values. Such numerical scores serve as valuable data and create the proper insight for testers during test case optimization.","PeriodicalId":10464,"journal":{"name":"Cogent Engineering","volume":"25 6","pages":"0"},"PeriodicalIF":2.1000,"publicationDate":"2023-11-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Test case generation and history data analysis during optimization in regression testing: An NLP study\",\"authors\":\"Atulya Gupta, Rajendra Prasad Mahapatra\",\"doi\":\"10.1080/23311916.2023.2276495\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The generation of test cases to verify and validate the actions of software or an application, as per the customers’ requirements, is an indispensable activity in software industries. A tester could construct test cases to suffice various objectives, which could be random or task-oriented at times. Most of the time, test cases are generated based on clients’ specifications or requirements. These requirements are structured in natural language, and manual derivation of test cases from such client-stated requirements could be a cumbersome and time-absorbing activity for testers. Until recently, many practitioners have proposed a natural language processing (NLP)-oriented solution to automate or semi-automate the manual process of generating test cases from requirements; nevertheless, such studies imposed a restriction on how the clients should document or represent their requirements. This study, on the contrary, suggested an NLP solution that considers free-format user requirements and applies text pre-processing, a combination of dependency parser and RAKE process, along with a statistical similarity measure and template-based natural language generation (NLG) to translate them into detailed test cases. Apart from test case generation, with the aid of NLP tactics, this study has also proposed a solution for encoding the historical data of test cases into numerical values. Such numerical scores serve as valuable data and create the proper insight for testers during test case optimization.\",\"PeriodicalId\":10464,\"journal\":{\"name\":\"Cogent Engineering\",\"volume\":\"25 6\",\"pages\":\"0\"},\"PeriodicalIF\":2.1000,\"publicationDate\":\"2023-11-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Cogent Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1080/23311916.2023.2276495\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"ENGINEERING, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Cogent Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1080/23311916.2023.2276495","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

摘要

根据客户的需求,生成测试用例来验证软件或应用程序的操作,是软件行业中不可或缺的活动。测试人员可以构建测试用例来满足不同的目标,这些目标有时可能是随机的,也可能是面向任务的。大多数情况下,测试用例是基于客户的规格说明或需求生成的。这些需求是用自然语言构建的,对于测试人员来说,从这样的客户陈述的需求中手动派生测试用例可能是一项繁琐且耗费时间的活动。直到最近,许多从业者已经提出了一种面向自然语言处理(NLP)的解决方案,将从需求生成测试用例的手动过程自动化或半自动化;然而,这样的研究对客户应该如何记录或表示他们的需求施加了限制。相反,这项研究提出了一种NLP解决方案,该解决方案考虑了自由格式的用户需求,并应用文本预处理,依赖解析器和RAKE过程的组合,以及统计相似性度量和基于模板的自然语言生成(NLG),将它们转换为详细的测试用例。除了生成测试用例之外,本研究还借助NLP策略提出了将测试用例的历史数据编码为数值的解决方案。这样的数值分数作为有价值的数据,并在测试用例优化期间为测试人员创建适当的洞察力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Test case generation and history data analysis during optimization in regression testing: An NLP study
The generation of test cases to verify and validate the actions of software or an application, as per the customers’ requirements, is an indispensable activity in software industries. A tester could construct test cases to suffice various objectives, which could be random or task-oriented at times. Most of the time, test cases are generated based on clients’ specifications or requirements. These requirements are structured in natural language, and manual derivation of test cases from such client-stated requirements could be a cumbersome and time-absorbing activity for testers. Until recently, many practitioners have proposed a natural language processing (NLP)-oriented solution to automate or semi-automate the manual process of generating test cases from requirements; nevertheless, such studies imposed a restriction on how the clients should document or represent their requirements. This study, on the contrary, suggested an NLP solution that considers free-format user requirements and applies text pre-processing, a combination of dependency parser and RAKE process, along with a statistical similarity measure and template-based natural language generation (NLG) to translate them into detailed test cases. Apart from test case generation, with the aid of NLP tactics, this study has also proposed a solution for encoding the historical data of test cases into numerical values. Such numerical scores serve as valuable data and create the proper insight for testers during test case optimization.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Cogent Engineering
Cogent Engineering ENGINEERING, MULTIDISCIPLINARY-
CiteScore
4.00
自引率
5.30%
发文量
213
审稿时长
13 weeks
期刊介绍: One of the largest, multidisciplinary open access engineering journals of peer-reviewed research, Cogent Engineering, part of the Taylor & Francis Group, covers all areas of engineering and technology, from chemical engineering to computer science, and mechanical to materials engineering. Cogent Engineering encourages interdisciplinary research and also accepts negative results, software article, replication studies and reviews.
期刊最新文献
Evaluating road work site safety management: A case study of the Amman bus rapid transit project construction Toward optimizing scientific workflow using multi-objective optimization in a cloud environment Technology capability of Indonesian medium-sized shipyards for ship production using Product-oriented Work Breakdown Structure method (case study on shipbuilding of Mini LNG vessel) NREL Phase VI wind turbine blade tip with S809 airfoil profile winglet design and performance analysis using computational fluid dynamics Revisiting multi-domain empirical modelling of light-emitting diode luminaire
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1