Exploring foci of:
doi.org
Generating accurate assert statements for unit test cases using pretrained transformers
May 2022 • Michele Tufano, Dawn Drain, A. Svyatkovskiy, Neel Sundaresan
Unit testing represents the foundational basis of the software testing\npyramid, beneath integration and end-to-end testing. Automated software testing\nresearchers have proposed a variety of techniques to assist developers in this\ntime-consuming task. In this paper we present an approach to support developers\nin writing unit test cases by generating accurate and useful assert statements.\nOur approach is based on a state-of-the-art transformer model initially\npretrained on an English textual corpus. This seman…