当前位置: X-MOL 学术Distrib. Parallel. Databases › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
LSTM-based deep learning for spatial–temporal software testing
Distributed and Parallel Databases ( IF 1.5 ) Pub Date : 2020-05-09 , DOI: 10.1007/s10619-020-07291-1
Lei Xiao , Huaikou Miao , Tingting Shi , Yu Hong

Continuous integration (CI) software development practice has become more and more popular. Regression testing occurs very frequently in CI. Test case suites constantly change since new test cases are inserted and obsolete test case are removed in each cycle. The software developer hunts for quick-feedback of faults because of time constraint. An embedded software usually includes the spatial–temporal data in CI. The efficiency of regression testing for the embedded software is related to the space–time. To achieve ideal regression testing goals for the embedded software in CI, this paper proposes a novel test case prioritization approach using LSTM-Based (Long short-term memory) deep learning. LSTM is a time series prediction model. It can predict the probability of each test case detection fault in the next cycle according to the testing history information of all the previous CI cycles. The priority of test case can be obtained dynamically under the guidance of the probability. The experiments are conducted on two industrial data sets. The results verify that compared with some exiting test case prioritization approaches, our approach has better performance for embedded software as follows: (1) improve the prioritization effectiveness, (2) increase the fault detection rate in CI environment, and (3) decrease the testing execution time through automatic reduction the obsolete test cases.

中文翻译:

用于时空软件测试的基于 LSTM 的深度学习

持续集成 (CI) 软件开发实践已经变得越来越流行。回归测试在 CI 中非常频繁地发生。由于在每个周期中插入新的测试用例和删除过时的测试用例,测试用例套件不断变化。由于时间限制,软件开发人员寻求对故障的快速反馈。嵌入式软件通常包含 CI 中的时空数据。嵌入式软件回归测试的效率与时空有关。为了实现 CI 中嵌入式软件的理想回归测试目标,本文提出了一种使用 LSTM-Based(长短期记忆)深度学习的新型测试用例优先级排序方法。LSTM 是一种时间序列预测模型。它可以根据之前所有CI周期的测试历史信息,预测下一个周期每个测试用例检测故障的概率。可以在概率的指导下动态获取测试用例的优先级。实验在两个工业数据集上进行。结果验证,与一些现有的测试用例优先排序方法相比,我们的方法对嵌入式软件具有更好的性能,如下所示:(1)提高优先排序的有效性,(2)提高 CI 环境中的故障​​检测率,以及(3)减少通过自动减少过时的测试用例来缩短测试执行时间。实验在两个工业数据集上进行。结果验证,与一些现有的测试用例优先排序方法相比,我们的方法对嵌入式软件具有更好的性能,如下所示:(1)提高优先排序的有效性,(2)提高 CI 环境中的故障​​检测率,以及(3)减少通过自动减少过时的测试用例来缩短测试执行时间。实验在两个工业数据集上进行。结果验证,与一些现有的测试用例优先排序方法相比,我们的方法对嵌入式软件具有更好的性能,如下所示:(1)提高优先排序的有效性,(2)提高 CI 环境中的故障​​检测率,以及(3)减少通过自动减少过时的测试用例来缩短测试执行时间。
更新日期:2020-05-09
down
wechat
bug