Test Cases Prioritization Framework for Component Based Front End Technologies

Hiba Ghannam, Abdel Salam Sayyad
{"title":"Test Cases Prioritization Framework for Component Based Front End Technologies","authors":"Hiba Ghannam, Abdel Salam Sayyad","doi":"10.1109/PICICT53635.2021.00040","DOIUrl":null,"url":null,"abstract":"Test cases prioritization is an important action that has to be done during the testing phase within the software development life cycle. It helps to add more focus on test cases that have high priority. In addition, it helps to discover defects in early stages. Recently, Component-based architecture frontend frameworks are the most popular used technologies; hence prioritization could be connected with it. It might be connected with components reusability and their business requirements. In previous research, several solutions were proposed for test cases prioritization. The gap here, that most of these solutions were built for regression testing. Few proposed solutions were generated for new test cases, while these solutions didn't consider the new frontend technologies. This research presented a framework as an automated solution for prioritization of new test cases. Test cases represent a web application that is going to be developed using the mentioned technologies. The prioritization problem in this research was considered as a multi objective optimization problem where trade-off has to be done between different objectives. Therefore, the proposed solution considered four genetic algorithms: NSGA-II, IBEA, MOCell and SPEA2. During this research, five datasets were created since there are no available datasets. First one was created manually, while the others were created using a random approach. This proposed random approach for creating datasets, can help researchers to create any dataset with any required size for testing any similar problem. Several experiments were done during this research and using the five datasets. Results for all datasets approved that 30 seconds as a minimum execution time is enough to all mentioned algorithms. In addition, the quality is close to all algorithms. The results also approved that having limited time for testing generates a high-quality solution in less than 30 seconds as execution time for any mentioned algorithm. On the other hand, more available time for testing leads to a more complex problem that reduces the solutions quality.","PeriodicalId":308869,"journal":{"name":"2021 Palestinian International Conference on Information and Communication Technology (PICICT)","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 Palestinian International Conference on Information and Communication Technology (PICICT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PICICT53635.2021.00040","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Test cases prioritization is an important action that has to be done during the testing phase within the software development life cycle. It helps to add more focus on test cases that have high priority. In addition, it helps to discover defects in early stages. Recently, Component-based architecture frontend frameworks are the most popular used technologies; hence prioritization could be connected with it. It might be connected with components reusability and their business requirements. In previous research, several solutions were proposed for test cases prioritization. The gap here, that most of these solutions were built for regression testing. Few proposed solutions were generated for new test cases, while these solutions didn't consider the new frontend technologies. This research presented a framework as an automated solution for prioritization of new test cases. Test cases represent a web application that is going to be developed using the mentioned technologies. The prioritization problem in this research was considered as a multi objective optimization problem where trade-off has to be done between different objectives. Therefore, the proposed solution considered four genetic algorithms: NSGA-II, IBEA, MOCell and SPEA2. During this research, five datasets were created since there are no available datasets. First one was created manually, while the others were created using a random approach. This proposed random approach for creating datasets, can help researchers to create any dataset with any required size for testing any similar problem. Several experiments were done during this research and using the five datasets. Results for all datasets approved that 30 seconds as a minimum execution time is enough to all mentioned algorithms. In addition, the quality is close to all algorithms. The results also approved that having limited time for testing generates a high-quality solution in less than 30 seconds as execution time for any mentioned algorithm. On the other hand, more available time for testing leads to a more complex problem that reduces the solutions quality.
基于组件的前端技术的测试用例优先级框架
测试用例的优先级排序是在软件开发生命周期的测试阶段必须完成的重要操作。它有助于更多地关注具有高优先级的测试用例。此外,它有助于在早期阶段发现缺陷。最近,基于组件架构的前端框架是最常用的技术;因此,优先排序可以与它联系起来。它可能与组件可重用性及其业务需求有关。在之前的研究中,提出了几种测试用例优先级的解决方案。这里的差距是,大多数这些解决方案都是为回归测试而构建的。为新的测试用例生成的建议解决方案很少,而这些解决方案没有考虑到新的前端技术。这项研究提出了一个框架,作为新测试用例优先级的自动化解决方案。测试用例表示将使用上述技术开发的web应用程序。在本研究中,优先级问题被视为一个多目标优化问题,需要在不同目标之间进行权衡。因此,该方案考虑了四种遗传算法:NSGA-II、IBEA、MOCell和SPEA2。在本次研究中,由于没有可用的数据集,我们创建了5个数据集。第一个是手动创建的,而其他的是使用随机方法创建的。这种创建数据集的随机方法可以帮助研究人员创建任意大小的数据集来测试任何类似的问题。在研究过程中,使用了五个数据集进行了多次实验。所有数据集的结果都表明,30秒作为最小执行时间对于所有提到的算法来说都足够了。此外,质量接近所有算法。结果还证明,在有限的测试时间内,任何上述算法的执行时间都可以在不到30秒的时间内生成高质量的解决方案。另一方面,更多可用的测试时间会导致更复杂的问题,从而降低解决方案的质量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信