Download now Free registration required
A 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 is-sue, the authors 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.
- Format: PDF
- Size: 208.6 KB