Random unit-test generation with MUT-aware sequence recommendation
Refereed conference paper presented and published in conference proceedings

Times Cited
Altmetrics Information

Other information
AbstractA key component of automated object-oriented unit-test generation is to find method-call sequences that generate desired inputs of a method under test (MUT). Previous work cannot find desired sequences effectively due to the large search space of possible sequences. To address this issue, we present a MUT-aware sequence recommendation approach called RecGen to improve the effectiveness of random object-oriented unit-test generation. Unlike existing random testing approaches that select sequences without considering how a MUT may use inputs generated from sequences, RecGen analyzes object fields accessed by a MUT and recommends a short sequence that mutates these fields. In addition, for MUTs whose test generation keeps failing, RecGen recommends a set of sequences to cover all the methods that mutate object fields accessed by the MUT. This technique further improves the chance of generating desired inputs. We have implemented RecGen and evaluated it on three libraries. Evaluation results show that RecGen improves code coverage over previous random testing tools. © 2010 ACM.
All Author(s) ListZheng W., Zhang Q., Lyu M., Xie T.
Name of Conference25th IEEE/ACM International Conference on Automated Software Engineering, ASE'10
Start Date of Conference20/09/2010
End Date of Conference24/09/2010
Place of ConferenceAntwerp
Country/Region of ConferenceBelgium
Pages293 - 296
LanguagesEnglish-United Kingdom
KeywordsReliability, Verification

Last updated on 2021-26-02 at 00:38