Cluster-Based Test Scheduling Strategies Using Semantic Relationships between Test Specifications

S. Tahvili, L. Hatvani, M. Felderer, W. Afzal, Mehrdad Saadatmand, M. Bohlin
{"title":"Cluster-Based Test Scheduling Strategies Using Semantic Relationships between Test Specifications","authors":"S. Tahvili, L. Hatvani, M. Felderer, W. Afzal, Mehrdad Saadatmand, M. Bohlin","doi":"10.1145/3195538.3195540","DOIUrl":null,"url":null,"abstract":"One of the challenging issues in improving the test efficiency is that of achieving a balance between testing goals and testing resources. Test execution scheduling is one way of saving time and budget, where a set of test cases are grouped and tested at the same time. To have an optimal test execution schedule, all related information of a test case (e.g. execution time, functionality to be tested, dependency and similarity with other test cases) need to be analyzed. Test scheduling problem becomes more complicated at high-level testing, such as integration testing and especially in manual testing procedure. Test specifications are generally written in natural text by humans and usually contain ambiguity and uncertainty. Therefore, analyzing a test specification demands a strong learning algorithm. In this position paper, we propose a natural language processing-based approach that, given test specifications at the integration level, allows automatic detection of test cases semantic dependencies. The proposed approach utilizes the Doc2Vec algorithm and converts each test case into a vector in n-dimensional space. These vectors are then grouped using the HDBSCAN clustering algorithm into semantic clusters. Finally, a set of cluster-based test scheduling strategies are proposed for execution. The proposed approach has been applied in a sub-system from the railway domain by analyzing an ongoing testing project at Bombardier Transportation AB, Sweden.","PeriodicalId":121144,"journal":{"name":"2018 IEEE/ACM 5th International Workshop on Requirements Engineering and Testing (RET)","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-06-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE/ACM 5th International Workshop on Requirements Engineering and Testing (RET)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3195538.3195540","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

One of the challenging issues in improving the test efficiency is that of achieving a balance between testing goals and testing resources. Test execution scheduling is one way of saving time and budget, where a set of test cases are grouped and tested at the same time. To have an optimal test execution schedule, all related information of a test case (e.g. execution time, functionality to be tested, dependency and similarity with other test cases) need to be analyzed. Test scheduling problem becomes more complicated at high-level testing, such as integration testing and especially in manual testing procedure. Test specifications are generally written in natural text by humans and usually contain ambiguity and uncertainty. Therefore, analyzing a test specification demands a strong learning algorithm. In this position paper, we propose a natural language processing-based approach that, given test specifications at the integration level, allows automatic detection of test cases semantic dependencies. The proposed approach utilizes the Doc2Vec algorithm and converts each test case into a vector in n-dimensional space. These vectors are then grouped using the HDBSCAN clustering algorithm into semantic clusters. Finally, a set of cluster-based test scheduling strategies are proposed for execution. The proposed approach has been applied in a sub-system from the railway domain by analyzing an ongoing testing project at Bombardier Transportation AB, Sweden.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于测试规范语义关系的基于集群的测试调度策略
提高测试效率的一个具有挑战性的问题是在测试目标和测试资源之间取得平衡。测试执行调度是节省时间和预算的一种方法,其中一组测试用例被分组并同时进行测试。为了有一个最佳的测试执行时间表,需要分析测试用例的所有相关信息(例如执行时间、要测试的功能、与其他测试用例的依赖性和相似性)。在集成测试等高级测试中,特别是在手工测试过程中,测试调度问题变得更加复杂。测试规范通常由人类用自然文本编写,并且通常包含歧义和不确定性。因此,分析测试规范需要一个强大的学习算法。在本文中,我们提出了一种基于自然语言处理的方法,在集成级别给出测试规范,允许自动检测测试用例语义依赖性。该方法利用Doc2Vec算法,将每个测试用例转换为n维空间中的向量。然后使用HDBSCAN聚类算法将这些向量分组到语义聚类中。最后,提出了一套基于集群的测试调度策略。通过分析瑞典庞巴迪运输公司正在进行的测试项目,该方法已应用于铁路领域的一个子系统。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Toward a Functional Requirements Prioritization with Early Mutation Testing Test Case Quality as Perceived in Sweden Ambiguous Software Requirement Specification Detection: An Automated Approach Cluster-Based Test Scheduling Strategies Using Semantic Relationships between Test Specifications A Case Study of Interactive Development of Passive Tests
×
引用
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