2022

Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproduction

Kang, Sungmin, Yoon, Juyeon, Yoo, Shin

Understand

Many automated test generation techniques have been developed to aid developers with writing tests.

  • To facilitate full automation, most existing techniques aim to either increase coverage, or generate exploratory inputs.
  • However, existing test generation techniques largely fall short of achieving more semantic objectives, such as generating tests to reproduce a given bug report.
  • Reproducing bugs is nonetheless important, as our empirical study shows that the number of tests added in open source repositories due to issues was about 28% of the corresponding project test suite size.

Reading the bibliography…