MAESTRO: Automated test generation framework for high test coverage and reduced human effort in automotive industry

被引:3
|
作者
Kim, Yunho [1 ]
Lee, Dongju [2 ]
Baek, Junki [2 ]
Kim, Moonzoo [1 ]
机构
[1] Korea Adv Inst Sci & Technol, 291 Daehak Ro, Daejeon 34141, South Korea
[2] Hyundai Mobis, 17-2 Mabuk Ro, Yongin 16891, Gyeonggi Do, South Korea
关键词
Automated test generation; Concolic testing; Fuzzing; Automotive software; Coverage testing;
D O I
10.1016/j.infsof.2019.106221
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: The importance of automotive software has been rapidly increasing because software controls many components of motor vehicles such as smart-key system, fire pressure monitoring system, and advanced driver assistance system. Consequently, the automotive industry spends a large amount of human effort to test automotive software and is interested in automated testing techniques to ensure high-quality automotive software with reduced human effort. Objective: Applying automated test generation techniques to automotive software is technically challenging because of false alarms caused by imprecise test drivers/stubs and lack of tool supports for symbolic analysis of bit-fields and function pointers in C. To address such challenges, we have developed an automated testing framework MAESTRO. Method: MAESTRO automatically builds a test driver and stubs for a target task (i.e., a software unit consisting of target functions). Then, it generates test inputs to a target task with the test driver and stubs by applying concolic testing and fuzzing together in an adaptive way. In addition, MAESTRO transforms a target program that uses bitfields into a semantically equivalent one that does not use bit-fields. Also, MAESTRO supports symbolic function pointers by identifying the candidate functions of a symbolic function pointer through static analysis. Results: MAESTRO achieved 94.2% branch coverage and 82.3% MC/DC coverage on the four target modules (238 KLOC) developed by Hyundai Mobis. Furthermore, it significantly reduced the cost of coverage testing by reducing the manual effort for coverage testing by 58.8%. Conclusion: By applying automated testing techniques, MAESTRO can achieve high test coverage for automotive software with significantly reduced manual testing effort.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Concolic Testing for High Test Coverage and Reduced Human Effort in Automotive Industry
    Kim, Yunho
    Lee, Dongju
    Baek, Junki
    Kim, Moonzoo
    [J]. 2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: SOFTWARE ENGINEERING IN PRACTICE (ICSE-SEIP 2019), 2019, : 151 - 160
  • [2] Automated Test Program Generation for Automotive Devices
    Drappa, Anke
    Huber, Peter
    Vollmar, Jon
    [J]. INTERNATIONAL TEST CONFERENCE 2010, 2010,
  • [3] Automated Coverage Calculation and Test Case Generation
    Morrison, G. C.
    Inggs, C. P.
    Visser, W. C.
    [J]. PROCEEDINGS OF THE SOUTH AFRICAN INSTITUTE FOR COMPUTER SCIENTISTS AND INFORMATION TECHNOLOGISTS CONFERENCE, 2012, : 84 - 93
  • [4] A Controlled Experiment on Coverage Maximization of Automated Model-Based Software Test Cases in the Automotive Industry
    Darwish, Rashid
    Gwosuta, Lynnie Nakyanzi
    Torkar, Richard
    [J]. 2017 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2017, : 546 - 547
  • [5] Automated Test Case Generation based on Coverage Analysis
    Majchrzak, Tim A.
    Kuchen, Herbert
    [J]. THIRD INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 259 - 266
  • [6] Test sequence generation for controller verification and test with high coverage
    Goren, Sezer
    Ferguson, F. Joel
    [J]. ACM TRANSACTIONS ON DESIGN AUTOMATION OF ELECTRONIC SYSTEMS, 2006, 11 (04) : 916 - 938
  • [7] From TARA to Test: Automated Automotive Cybersecurity Test Generation Out of Threat Modeling
    Marksteiner, Stefan
    Schmittner, Christoph
    Christl, Korbinian
    Nickovic, Dejan
    Sjodin, Mikael
    Sirjani, Marjan
    [J]. 7TH ACM COMPUTER SCIENCE IN CARS SYMPOSIUM, CSCS 2023, 2023,
  • [8] 8.2.1 Automated Test Generation and Execution for Automotive Embedded Software
    Bouquet, Fabrice
    Lebeau, Franck
    Legeard, Bruno
    [J]. INCOSE International Symposium, 2004, 14 (01) : 1637 - 1650
  • [9] DEMINER: test generation for high test coverage through mutant exploration
    Kim, Yunho
    Hong, Shin
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2021, 31 (1-2):
  • [10] Applying Automated Test Case Generation in Industry: A Retrospective
    Ramler, Rudolf
    Klammer, Claus
    Buchgeher, Georg
    [J]. 2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2018, : 364 - 369