LSTM-based deep learning for spatial-temporal software testing

被引:8
|
作者
Xiao, Lei [1 ,2 ,3 ]
Miao, Huaikou [1 ]
Shi, Tingting [2 ]
Hong, Yu [4 ]
机构
[1] Shanghai Univ, Sch Comp Engn & Sci, Shanghai 200444, Peoples R China
[2] Xiamen Univ Technol, Coll Comp & Informat Engn, Xiamen 361024, Peoples R China
[3] Shanghai Key Lab Comp Software Testing & Evaluati, Shanghai 201112, Peoples R China
[4] Fujian Yifei Informat Technol Co Ltd, Xiamen 361000, Peoples R China
基金
中国国家自然科学基金;
关键词
Continuous integration; Regression testing; Test case prioritization; Long short-term memory; TEST-CASE PRIORITIZATION; REDUCTION;
D O I
10.1007/s10619-020-07291-1
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:687 / 712
页数:26
相关论文
共 50 条
  • [1] LSTM-based deep learning for spatial–temporal software testing
    Lei Xiao
    Huaikou Miao
    Tingting Shi
    Yu Hong
    [J]. Distributed and Parallel Databases, 2020, 38 : 687 - 712
  • [2] Multi-object Spatial-Temporal Anomaly Detection Using an LSTM-Based Framework
    Ning, Jin
    Chen, Leiting
    Zhou, Chuan
    Liu, Defu
    [J]. NEURAL PROCESSING LETTERS, 2021, 53 (03) : 1811 - 1821
  • [3] LSTM-based Deep Learning Models for Answer Ranking
    Li, Zhenzhen
    Huang, Jiuming
    Zhou, Zhongcheng
    Zhang, Haoyu
    Chang, Shoufeng
    Huang, Zhijie
    [J]. 2016 IEEE FIRST INTERNATIONAL CONFERENCE ON DATA SCIENCE IN CYBERSPACE (DSC 2016), 2016, : 90 - 97
  • [4] Activity Recognition Based on Spatial-Temporal Attention LSTM
    Xie, Zhao
    Zhou, Yi
    Wu, Ke-Wei
    Zhang, Shun-Ran
    [J]. Jisuanji Xuebao/Chinese Journal of Computers, 2021, 44 (02): : 261 - 274
  • [5] Spatial-temporal attention wavenet: A deep learning framework for traffic prediction considering spatial-temporal dependencies
    Tian, Chenyu
    Chan, Wai Kin
    [J]. IET INTELLIGENT TRANSPORT SYSTEMS, 2021, 15 (04) : 549 - 561
  • [6] A LSTM-based Deep Learning Method with Application to Voltage Dip Classification
    Balouji, Ebrahim
    Gu, Irene Y. H.
    Bollen, Math H. J.
    Bagheri, Azam
    Nazari, Mahmood
    [J]. 2018 18TH INTERNATIONAL CONFERENCE ON HARMONICS AND QUALITY OF POWER (ICHQP), 2018,
  • [7] Violent video classification based on spatial-temporal cues using deep learning
    Xu, Xingyu
    Wu, Xiaoyu
    Wang, Ge
    Wang, Huimin
    [J]. 2018 11TH INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND DESIGN (ISCID), VOL 1, 2018, : 319 - 322
  • [8] Deep-Learning-Based Stress Recognition with Spatial-Temporal Facial Information
    Jeon, Taejae
    Bae, Han Byeol
    Lee, Yongju
    Jang, Sungjun
    Lee, Sangyoun
    [J]. SENSORS, 2021, 21 (22)
  • [9] Tourism demand forecasting: a deep learning model based on spatial-temporal transformer
    Chen, Jiaying
    Li, Cheng
    Huang, Liyao
    Zheng, Weimin
    [J]. TOURISM REVIEW, 2023,
  • [10] LSTM-based Deep Learning Model for Stock Prediction and Predictive Optimization Model
    Rather, Akhter Mohiuddin
    [J]. EURO JOURNAL ON DECISION PROCESSES, 2021, 9