Scalable Approaches for Test Suite Reduction![Artifacts Available](https://2019.icse-conferences.org/getImageFile/96f01d36-4104-4dc8-b213-f70dfeca82a7/small?1555684032000)
![Artifacts Evaluated Reusable](https://2019.icse-conferences.org/getImageFile/ae87a10c-fca6-4ea5-b580-9d5903702387/small?1555683970000)
Technical TrackIndustry Program
Test suite reduction approaches aim at decreasing software regression testing costs by selecting a representative subset from large-size test suites. Most existing techniques are too expensive for handling modern massive systems and moreover depend on artifacts, such as code coverage metrics or specification models, that are not commonly available at high scale. We present a family of novel very efficient approaches for similarity-based test suite reduction that apply algorithms borrowed from the big data domain together with smart heuristics for finding an evenly spread subset of test cases. The approaches are very general since they only use as input the test cases themselves (test source code or command line input). We evaluate four approaches in a version that selects a fixed budget B of test cases, and also in an adequate version that does the reduction guaranteeing some fixed coverage. The results show that the approaches yield a fault detection loss comparable to state-of-the-art techniques, while providing huge gains in terms of efficiency. When applied to a suite of more than 500K real world test cases, the most efficient of the four approaches could select B test cases (for varying B values) in less than 10 seconds.