* ICSE 2018 *
Sun 27 May - Sun 3 June 2018 Gothenburg, Sweden
Wed 30 May 2018 14:20 - 14:40 at G1 room - Regression Testing Chair(s): Dan Hao

As a software system evolves, its test suite can accumulate redundancies over time. Test minimization aims at removing redundant test cases. However, current techniques remove whole test cases from the test suite using test adequacy criteria, such as code coverage. This has two limitations, namely (1) by removing a whole test case the corresponding test assertions are also lost, which can inhibit test suite effectiveness, (2) the issue of partly redundant test cases, i.e., tests with redundant test statements, is ignored. We propose a novel approach for fine-grained test case minimization. Our analysis is based on the inference of a test suite model that enables automated test reorganization within test cases. It enables removing redundancies at the test statement level, while preserving the coverage and test assertions of the test suite. We evaluated our approach, implemented in a tool called Testler, on the test suites of 15 open source projects. Our analysis shows that over 4,639 (24%) of the tests in these test suites are partly redundant, with over 11,819 redundant test statements in total. Our results show that Testler removes 43% of the redundant test statements, reducing the number of partly redundant tests by 52%. As a result, test suite execution time is reduced by up to 37% (20% on average), while maintaining the original statement coverage, branch coverage, test assertions, and fault detection capability.

Wed 30 May

14:00 - 15:30: Technical Papers - Regression Testing at G1 room
Chair(s): Dan HaoPeking University
icse-2018-Technical-Papers152768160000014:00 - 14:20
Lingming ZhangUniversity of Texas at Dallas
icse-2018-Technical-Papers152768280000014:20 - 14:40
Arash Vahabzadeh, Andrea Stocco, Ali MesbahUniversity of British Columbia
icse-2018-Technical-Papers152768400000014:40 - 15:00
Breno MirandaFederal University of Pernambuco, Emilio CrucianiGran Sasso Science Institute, L'Aquila, Italy, Roberto VerdecchiaGran Sasso Science Institute, Vrije Universiteit Amsterdam, Antonia BertolinoCNR-ISTI
DOI Pre-print File Attached
icse-2018-Technical-Papers152768520000015:00 - 15:20
Kaiyuan Wang, Chenguang ZhuUniversity of Texas, Austin, Ahmet CelikUniversity of Texas at Austin, USA, Jongwook Kim, Don BatoryUniversity of Texas, Austin, Milos GligoricUniversity of Texas at Austin
File Attached
icse-2018-Technical-Papers152768640000015:20 - 15:30