{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,17]],"date-time":"2026-11-17T21:51:33Z","timestamp":1794952293656,"version":"4.9.1"},"reference-count":66,"publisher":"Association for Computing Machinery (ACM)","issue":"ISSTA","license":[{"start":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T00:00:00Z","timestamp":1750550400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["U24A20337, 61932012, 62372228"],"award-info":[{"award-number":["U24A20337, 61932012, 62372228"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"name":"CCF-Huawei Populus Grove Fund","award":["CCF-HuaweiSE202304, CCF-HuaweiSY202306"],"award-info":[{"award-number":["CCF-HuaweiSE202304, CCF-HuaweiSY202306"]}]},{"DOI":"10.13039\/501100010877","name":"Science, Technology and Innovation Commission of Shenzhen Municipality","doi-asserted-by":"publisher","award":["CJGJZD20200617103001003, 2021Szvup057"],"award-info":[{"award-number":["CJGJZD20200617103001003, 2021Szvup057"]}],"id":[{"id":"10.13039\/501100010877","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,22]]},"abstract":"<jats:p>Unit testing plays a pivotal role in software development, improving software quality and reliability. However, generating effective test cases manually is time-consuming, prompting interest in unit testing research. Recently, Large Language Models (LLMs) have shown potential in various unit testing tasks, including test generation, assertion generation, and test evolution, but existing studies are limited in scope and lack a systematic evaluation of the effectiveness of LLMs.<\/jats:p>\n                  <jats:p>To bridge this gap, we present a large-scale empirical study on fine-tuning LLMs for unit testing. Our study involves three unit testing tasks, five benchmarks, eight evaluation metrics, and 37 popular LLMs across various architectures and sizes, consuming over 3,000 NVIDIA A100 GPU hours. We focus on three key research questions: (1) the performance of LLMs compared to state-of-the-art methods, (2) the impact of different factors on LLM performance, and (3) the effectiveness of fine-tuning versus prompt engineering. Our findings reveal that LLMs outperform existing state-of-the-art approaches on all three unit testing tasks across nearly all metrics, highlighting the potential of fine-tuning LLMs in unit testing tasks. Furthermore, large-scale, decoder-only models achieve the best results across tasks, while encoder-decoder models perform better under the same parameter scale. Additionally, the comparison of the performance between fine-tuning and prompt engineering approaches reveals the considerable potential capability of the prompt engineering approach in unit testing tasks. We then discuss the concerned issues on the test generation task, including data leakage issues, bug detection capabilities, and metrics comparisons. Finally, we further pinpoint carious practical guidelines for LLM-based approaches to unit testing tasks in the near future. Overall, our work demonstrates the promising future of fine-tuning LLMs on unit testing tasks and reduces the manual efforts of unit testing experts in practical scenarios.<\/jats:p>","DOI":"10.1145\/3728951","type":"journal-article","created":{"date-parts":[[2025,6,22]],"date-time":"2025-06-22T10:52:56Z","timestamp":1750589576000},"page":"1678-1700","source":"Crossref","is-referenced-by-count":29,"title":["A Large-Scale Empirical Study on Fine-Tuning Large Language Models for Unit Testing"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0009-0000-8699-8075","authenticated-orcid":false,"given":"Ye","family":"Shang","sequence":"first","affiliation":[{"name":"Nanjing University, State Key Laboratory for Novel Software Technology, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2495-3805","authenticated-orcid":false,"given":"Quanjun","family":"Zhang","sequence":"additional","affiliation":[{"name":"Nanjing University of Science and Technology, School of Computer Science and Engineering, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9930-7111","authenticated-orcid":false,"given":"Chunrong","family":"Fang","sequence":"additional","affiliation":[{"name":"Nanjing University, State Key Laboratory for Novel Software Technology, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5514-6734","authenticated-orcid":false,"given":"Siqi","family":"Gu","sequence":"additional","affiliation":[{"name":"Nanjing University, State Key Laboratory for Novel Software Technology, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4867-5416","authenticated-orcid":false,"given":"Jianyi","family":"Zhou","sequence":"additional","affiliation":[{"name":"Huawei Cloud Computing Technologies, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9592-7022","authenticated-orcid":false,"given":"Zhenyu","family":"Chen","sequence":"additional","affiliation":[{"name":"Shenzhen Research Institute of Nanjing University, Shenzhen, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,22]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"2024. Commons CLI. https:\/\/commons.apache.org\/proper\/commons-lang\/"},{"key":"e_1_3_1_3_2","unstructured":"2024. Commons CSV. https:\/\/commons.apache.org\/proper\/commons-csv\/"},{"key":"e_1_3_1_4_2","unstructured":"2024. Commons Lang. https:\/\/commons.apache.org\/proper\/commons-lang\/"},{"key":"e_1_3_1_5_2","unstructured":"2024. google gson. https:\/\/github.com\/google\/gson"},{"key":"e_1_3_1_6_2","unstructured":"2024. JFreeChart. https:\/\/jfree.org\/jfreechart\/"},{"key":"e_1_3_1_7_2","first-page":"220:1","volume-title":"Proceedings of the 46th IEEE\/ACM International Conference on Software Engineering, ICSE 2024, Lisbon, Portugal, April 14-20, 2024","author":"Ahmed Toufique","year":"2024","unstructured":"Toufique Ahmed, Kunal Suresh Pai, Premkumar T Devanbu, and Earl T Barr. 2024. Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization). In Proceedings of the 46th IEEE\/ACM International Conference on Software Engineering, ICSE 2024, Lisbon, Portugal, April 14-20, 2024. ACM, 220:1-220:13."},{"key":"e_1_3_1_8_2","article-title":"A3Test: Assertion-Augmented Automated Test Case Generation","volume":"176","author":"Alagarsamy Saranya","year":"2024","unstructured":"Saranya Alagarsamy, Chakkrit Tantithamthavorn, and Aldeida Aleti. 2024. A3Test: Assertion-Augmented Automated Test Case Generation. Inf. Softw. Technol. 176 (2024), 107565.","journal-title":"Inf. Softw. Technol"},{"key":"e_1_3_1_9_2","doi-asserted-by":"crossref","unstructured":"Luciano Baresi and Matteo Miraz. 2010. TestFul: Automatic Unit-Test Generation for Java Classes. In Proceedings of the 32nd ACM\/IEEE International Conference on Software Engineering - Volume 2 ICSE 2010 Cape Town South Africa 1-8 May 2010. ACM 281-284.","DOI":"10.1145\/1810295.1810353"},{"key":"e_1_3_1_10_2","doi-asserted-by":"crossref","unstructured":"Cristian Cadar Patrice Godefroid Sarfraz Khurshid Corina S. Pasareanu Koushik Sen Nikolai Tillmann and Willem Visser. 2011. Symbolic Execution for Software Testing in Practice: Preliminary Assessment. In Proceedings of the 33rd International Conference on Software Engineering ICSE 2011 Waikiki Honolulu HI USA May 21-28 2011. ACM 1066-1071.","DOI":"10.1145\/1985793.1985995"},{"key":"e_1_3_1_11_2","doi-asserted-by":"crossref","unstructured":"Yinghao Chen Zehao Hu Chen Zhi Junxiao Han Shuiguang Deng and Jianwei Yin. 2024. ChatUniTest: A Framework for LLM-Based Test Generation. In Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering FSE 2024 Porto de Galinhas Brazil July 15-19 2024. ACM 572-576.","DOI":"10.1145\/3663529.3663801"},{"key":"e_1_3_1_12_2","doi-asserted-by":"crossref","unstructured":"Vitaly Chipounov Volodymyr Kuznetsov and George Candea. 2011. S2E: a Platform for In-Vivo Multi-Path Analysis of Software Systems. In Proceedings of the 16th International Conference on Architectural Support for Programming Languages and Operating Systems ASPLOS 2011 Newport Beach CA USA March 5-11 2011. ACM 265-278.","DOI":"10.1145\/1950365.1950396"},{"key":"e_1_3_1_13_2","first-page":"201","volume-title":"25th IEEE International Symposium on Software Reliability Engineering, ISSRE 2014, Naples, Italy, November 3-6, 2014","author":"Daka Ermira","year":"2014","unstructured":"Ermira Daka and Gordon Fraser. 2014. A Survey on Unit Testing Practices and Problems. In 25th IEEE International Symposium on Software Reliability Engineering, ISSRE 2014, Naples, Italy, November 3-6, 2014. IEEE Computer Society, 201-211."},{"key":"e_1_3_1_14_2","doi-asserted-by":"crossref","unstructured":"Siddhartha R. Dalal Ashish Jain Nachimuthu Karunanithi J. M. Leaton Christopher M. Lott Gardner C. Patton and Bruce M. Horowitz. 1999. Model-Based Testing in Practice. In Proceedings of the 1999 International Conference on Software Engineering ICSE\u2019 99 Los Angeles CA USA May 16-22 1999. ACM 285-294.","DOI":"10.1145\/302405.302640"},{"key":"e_1_3_1_15_2","doi-asserted-by":"crossref","unstructured":"Elizabeth Dinella Gabriel Ryan Todd My tkowicz and Shuvendu K. Lahiri. 2022. TOGA: A Neural Method for Test Oracle Generation. In 44th IEEE\/ACM 44th International Conference on Software Engineering ICSE 2022 Pittsburgh PA USA May 25-27 2022. ACM 2130-2141.","DOI":"10.1145\/3510003.3510141"},{"key":"e_1_3_1_16_2","doi-asserted-by":"crossref","first-page":"335","DOI":"10.1007\/s10009-014-0355-9","article-title":"Automated Test Generation Using Model Checking: An Industrial Evaluation","volume":"3","author":"Enoiu Eduard Paul","year":"2016","unstructured":"Eduard Paul Enoiu, Adnan Causevic, Thomas J. Ostrand, Elaine J. Weyuker, Daniel Sundmark, and Paul Pettersson. 2016. Automated Test Generation Using Model Checking: An Industrial Evaluation. Int. J. Softw. Tools Technol. Transf. 18, 3 (2016), 335-353.","journal-title":"Int. J. Softw. Tools Technol. Transf. 18"},{"key":"e_1_3_1_17_2","first-page":"1536","volume-title":"Findings of the Association for Computational Linguistics: EMNLP 2020, Online Event, 16-20 November 2020 (Findings of ACL, Vol. EMNLP2020)","author":"Feng Zhangyin","year":"2020","unstructured":"Zhangyin Feng, Daya Guo, Duyu Tang, Nan Duan, Xiaocheng Feng, Ming Gong, Linjun Shou, Bing Qin, Ting Liu, Daxin Jiang, and Ming Zhou. 2020. CodeBERT: A Pre-Trained Model for Programming and Natural Languages. In Findings of the Association for Computational Linguistics: EMNLP 2020, Online Event, 16-20 November 2020 (Findings of ACL, Vol. EMNLP2020). Association for Computational Linguistics, 1536-1547."},{"key":"e_1_3_1_18_2","doi-asserted-by":"crossref","unstructured":"Gordon Fraser and Andrea Arcuri. 2011. Evosuite: Automatic Test Suite Generation for Object-Oriented Software. In SIGSOFT\/FSE\u201911 19th ACM SIGSOFT Symposium on the Foundations of Software Engineering (FSE-19) andESEC\u2019ll: 13th European Software Engineering Conference (ESEC-13) Szeged Hungary September 5-9 2011. ACM 416-419.","DOI":"10.1145\/2025113.2025179"},{"key":"e_1_3_1_19_2","first-page":"146","volume-title":"Software Engineering - ESEC\/FSE\u201999, 7th European Software Engineering Conference, Held Jointly with the 7th ACM SIGSOFT Symposium on the Foundations of Software Engineering, Toulouse, France, September 1999, Proceedings (Lecture Notes in Computer Science, Vol. 1687)","author":"Gargantini Angelo","year":"1999","unstructured":"Angelo Gargantini and Constance L. Heitmeyer. 1999. Using Model Checking to Generate Tests from Requirements Specifications. In Software Engineering - ESEC\/FSE\u201999, 7th European Software Engineering Conference, Held Jointly with the 7th ACM SIGSOFT Symposium on the Foundations of Software Engineering, Toulouse, France, September 1999, Proceedings (Lecture Notes in Computer Science, Vol. 1687). Springer, 146-162."},{"key":"e_1_3_1_20_2","unstructured":"Siqi Gu Chunrong Fang Quanjun Zhang Fangyuan Tian Jianyi Zhou and Zhenyu Chen. 2024. TestART: Improving LLM-based Unit Test via Co-evolution of Automated Generation and Repair Iteration. CoRR abs\/2408.03095 (2024) arXiv-2408."},{"key":"e_1_3_1_21_2","unstructured":"Daya Guo Qihao Zhu Dejian Yang Zhenda Xie Kai Dong Wentao Zhang Guanting Chen Xiao Bi Y. Wu Y. K. Li Fuli Luo Yingfei Xiong and Wenfeng Liang. 2024. DeepSeek-Coder: When the Large Language Model Meets Programming - The Rise of Code Intelligence. CoRR abs\/2401.14196 (2024) arXiv-2401."},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3660785"},{"key":"e_1_3_1_23_2","unstructured":"Soneya Binta Hossain and Matthew B. Dwyer. 2024. TOGLL: Correct and Strong Test Oracle Generation with LLMs. CoRR abs\/2405.03786 (2024) arXiv-2405."},{"key":"e_1_3_1_24_2","doi-asserted-by":"crossref","unstructured":"Soneya Binta Hossain Antonio Filieri Matthew B. Dwyer Sebastian G. Elbaum and Willem Visser. 2023. Neural-Based Test Oracle Generation: A Large-Scale Evaluation and Lessons Learned. In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering ESEC\/FSE 2023 San Francisco CA USA December 3-9 2023. ACM 120-132.","DOI":"10.1145\/3611643.3616265"},{"key":"e_1_3_1_25_2","unstructured":"Xinyi Hou Yanjie Zhao Yue Liu Zhou Yang Kailong Wang Li Li Xiapu Luo David Lo John C. Grundy and Haoyu Wang. 2023. Large Language Models for Software Engineering: A Systematic Literature Review. CoRR abs\/2308.10620(2023) arXiv-2308."},{"key":"e_1_3_1_26_2","doi-asserted-by":"crossref","unstructured":"Xing Hu Zhuang Liu Xin Xia Zhongxin Liu Tongtong Xu and Xiaohu Yang. 2023. Identify and Update Test Cases When Production Code Changes: A Transformer-Based Approach. In 38th IEEE\/ACM International Conference on Automated Software Engineering ASE 2023 Luxembourg September 11-15 2023. IEEE 1111-1122.","DOI":"10.1109\/ASE56229.2023.00165"},{"key":"e_1_3_1_27_2","unstructured":"Raymond Li Loubna Ben Allal Yangtian Zi Niklas Muennighoff Denis Kocetkov Chenghao Mou Marc Marone Christopher Akiki Jia Li Jenny Chim et al. 2023. StarCoder: May the Source Be with You! Trans. Mach. Learn. Res. 2023 (2023)."},{"key":"e_1_3_1_28_2","doi-asserted-by":"crossref","unstructured":"Jun Liu Jiwei Yan Yuanyuan Xie Jun Yan and Jian Zhang. 2024. Augmenting LLMs to Repair Obsolete Test Cases with Static Collector and Neural Reranker. CoRR abs\/2407.03625 (2024) arXiv-2407.","DOI":"10.1109\/ISSRE62328.2024.00043"},{"key":"e_1_3_1_29_2","doi-asserted-by":"crossref","unstructured":"Zhongxin Liu Kui Liu Xin Xia and Xiaohu Yang. 2023. Towards More Realistic Evaluation for Neural Test Oracle Generation. In Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis ISSTA 2023 Seattle WA USA July 17-21 2023. ACM 589-600.","DOI":"10.1145\/3597926.3598080"},{"key":"e_1_3_1_30_2","first-page":"212","volume-title":"30th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2015, Lincoln, NE, USA, November 9-13, 2015","author":"Ma Lei","year":"2015","unstructured":"Lei Ma, Cyrille Artho, Cheng Zhang, Hiroyuki Sato, Johannes Gmeiner, and Rudolf Ramler. 2015. GRT: Program Analysis-Guided Random Testing (T). In 30th IEEE\/ACM International Conference on Automated Software Engineering, ASE 2015, Lincoln, NE, USA, November 9-13, 2015. IEEE Computer Society, 212-223."},{"key":"e_1_3_1_31_2","unstructured":"Chao Ni Xiaoya Wang Liushan Chen Dehai Zhao Zhengong Cai Shaohua Wang and Xiaohu Yang. 2024. CasModaTest: A Cascaded and Model-Agnostic Self-Directed Framework for Unit Test Generation. CoRR abs\/2406.15743 (2024) arXiv-2406."},{"key":"e_1_3_1_32_2","unstructured":"Erik Nijkamp Bo Pang Hiroaki Hayashi Lifu Tu Huan Wang Yingbo Zhou Silvio Savarese and Caiming Xiong. 2023. CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis. In The Eleventh International Conference on Learning Representations ICLR 2023 Kigali Rwanda May 1-5 2023. OpenReview.net."},{"key":"e_1_3_1_33_2","first-page":"416","volume-title":"\u00abUML\u00bb\u201899: The Unified Modeling Language - Beyond the Standard, Second International Conference, Fort Collins, CO, USA, October 28-30, 1999, Proceedings (Lecture Notes in Computer Science, Vol. 1723)","author":"Offutt A. Jefferson","year":"1999","unstructured":"A. Jefferson Offutt and Aynur Abdurazik. 1999. Generating Tests from UML Specifications. In \u00abUML\u00bb\u201899: The Unified Modeling Language - Beyond the Standard, Second International Conference, Fort Collins, CO, USA, October 28-30, 1999, Proceedings (Lecture Notes in Computer Science, Vol. 1723). Springer, 416-429."},{"key":"e_1_3_1_34_2","doi-asserted-by":"crossref","first-page":"27730","DOI":"10.52202\/068431-2011","article-title":"Training Language Models to Follow Instructions with Human Feedback","volume":"35","author":"Ouyang Long","year":"2022","unstructured":"Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul F. Christiano, Jan Leike, and Ryan Lowe. 2022. Training Language Models to Follow Instructions with Human Feedback. In Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 - December 9, 2022, Vol. 35. 27730-27744.","journal-title":"Advances in Neural Information Processing Systems 35: Annual Conference on Neural Information Processing Systems 2022, NeurIPS 2022, New Orleans, LA, USA, November 28 - December 9, 2022"},{"key":"e_1_3_1_35_2","doi-asserted-by":"crossref","unstructured":"Carlos Pacheco and Michael D. Ernst. 2007. Randoop: Feedback-Directed Random Testing for Java. In Companion to the 22nd Annual ACM SIGPLAN Conference on Object-Oriented Programming Systems Languages and Applications OOPSLA 2007 October 21-25 2007 Montreal Quebec Canada. ACM 815-816.","DOI":"10.1145\/1297846.1297902"},{"key":"e_1_3_1_36_2","doi-asserted-by":"crossref","unstructured":"Kishore Papineni Salim Roukos Todd Ward and Wei-Jing Zhu. 2002. BLEU: a Method for Automatic Evaluation of Machine Translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics July 6-12 2002 Philadelphia PA USA. ACL 311-318.","DOI":"10.3115\/1073083.1073135"},{"key":"e_1_3_1_37_2","doi-asserted-by":"crossref","unstructured":"Corina S. Pasareanu Peter C. Mehlitz David H. Bushnell Karen Gundy-Burlet Michael R. Lowry Suzette Person and Mark Pape. 2008. Combining Unit-Level Symbolic Execution and System-Level Concrete Execution for Testing NASA Software. In Proceedings of the ACM\/SIGSOFT International Symposium on Software Testing and Analysis ISSTA 2008 Seattle WA USA July 20-24 2008. ACM 15-26.","DOI":"10.1145\/1390630.1390635"},{"key":"e_1_3_1_38_2","first-page":"140:1","article-title":"Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer","volume":"21","author":"Raffel Colin","year":"2020","unstructured":"Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer. J. Mach. Learn. Res. 21 (2020), 140:1-140:67.","journal-title":"J. Mach. Learn. Res"},{"key":"e_1_3_1_39_2","unstructured":"Shuo Ren Daya Guo Shuai Lu Long Zhou Shujie Liu Duyu Tang Neel Sundaresan Ming Zhou Ambrosio Blanco and Shuai Ma. 2020. CodeBLEU: a Method for Automatic Evaluation of Code Synthesis. CoRR abs\/2009.10297 (2020) arXiv-2009."},{"key":"e_1_3_1_40_2","unstructured":"Baptiste Rozi\u00e8re Jonas Gehring Fabian Gloeckle Sten Sootla Itai Gat Xiaoqing Ellen Tan Yossi Adi Jingyu Liu Tal Remez J\u00e9r\u00e9my Rapin Artyom Kozhevnikov Ivan Evtimov Joanna Bitton Manish Bhatt Cristian Canton-Ferrer Aaron Grattafiori Wenhan Xiong Alexandre D\u00e9fossez Jade Copet Faisal Azhar Hugo Touvron Louis Martin Nicolas Usunier Thomas Scialom and Gabriel Synnaeve. 2023. Code Llama: Open Foundation Models for Code. CoRR abs\/2308.12950 (2023) arXiv-2308."},{"key":"e_1_3_1_41_2","doi-asserted-by":"crossref","first-page":"85","DOI":"10.1109\/TSE.2023.3334955","article-title":"An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generation","volume":"1","author":"Sch\u00e4fer Max","year":"2024","unstructured":"Max Sch\u00e4fer, Sarah Nadi, Aryaz Eghbali, and Frank Tip. 2024. An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generation. IEEE Trans. Software Eng. 50,1 (2024), 85-105.","journal-title":"IEEE Trans. Software Eng. 50"},{"key":"e_1_3_1_42_2","unstructured":"Weisong Sun Chunrong Fang Yudu You Yuchen Chen Yi Liu Chong Wang Jian Zhang Quanjun Zhang Hanwei Qian Wei Zhao Yang Liu and Zhenyu Chen. 2023. A Prompt Learning Framework for Source Code Summarization. CoRR abs\/2312.16066 (2023) arXiv-2312."},{"key":"e_1_3_1_43_2","first-page":"152:1","article-title":"Revisiting the Identification of the Co-evolution of Production and Test Code","volume":"6","author":"Sun Weifeng","year":"2023","unstructured":"Weifeng Sun, Meng Yan, Zhongxin Liu, Xin Xia, Yan Lei, and David Lo. 2023. Revisiting the Identification of the Co-evolution of Production and Test Code. ACM Trans. Softw. Eng. Methodol. 32, 6 (2023), 152:1-152:37.","journal-title":"ACM Trans. Softw. Eng. Methodol. 32"},{"key":"e_1_3_1_44_2","doi-asserted-by":"crossref","unstructured":"Michele Tufano Shao Kun Deng Neel Sundaresan and Alexey Svyatkovskiy. 2022. METHODS2TEST: A Dataset of Focal Methods Mapped to Test Cases. In 19th IEEE\/ACM International Conference on Mining Software Repositories MSR 2022 Pittsburgh PA USA May 23-24 2022. ACM 299-303.","DOI":"10.1145\/3524842.3528009"},{"key":"e_1_3_1_45_2","unstructured":"Michele Tufano Dawn Drain Alexey Svyatkovskiy Shao Kun Deng and Neel Sundaresan. 2020. Unit Test Case Generation with Transformers and Focal Context. arXiv e-prints abs\/2009.05617 (2020) arXiv-2009."},{"key":"e_1_3_1_46_2","unstructured":"Ashish Vaswani Noam Shazeer Niki Parmar Jakob Uszkoreit Llion Jones Aidan N. Gomez Lukasz Kaiser and Illia Polosukhin. 2017. Attention is All you Need. In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017 December 4-9 2017 Long Beach CA USA. 5998-6008."},{"key":"e_1_3_1_47_2","doi-asserted-by":"crossref","first-page":"911","DOI":"10.1109\/TSE.2024.3368208","article-title":"Software Testing With Large Language Models: Survey, Landscape, and Vision","volume":"4","author":"Wang Junjie","year":"2024","unstructured":"Junjie Wang, Yuchao Huang, Chunyang Chen, Zhe Liu, Song Wang, and Qing Wang. 2024. Software Testing With Large Language Models: Survey, Landscape, and Vision. IEEE Trans. Software Eng. 50, 4 (2024), 911-936.","journal-title":"IEEE Trans. Software Eng. 50"},{"key":"e_1_3_1_48_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2023.emnlp-main.68"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2021.emnlp-main.685"},{"key":"e_1_3_1_50_2","doi-asserted-by":"crossref","unstructured":"Cody Watson Michele Tufano Kevin Moran Gabriele Bavota and Denys Poshyvanyk. 2020. On Learning Meaningful Assert Statements for Unit Test Cases. In ICSE \u201820: 42nd International Conference on Software Engineering Seoul South Korea 27 June - 19 July 2020. ACM 1398-1409.","DOI":"10.1145\/3377811.3380429"},{"key":"e_1_3_1_51_2","unstructured":"Yuxiang Wei Zhe Wang Jiawei Liu Yifeng Ding and Lingming Zhang. 2024. Magicoder: Empowering Code Generation with OSS-Instruct. In Forty-first International Conference on Machine Learning ICML 2024 Vienna Austria July 21-27 2024. OpenReview.net."},{"key":"e_1_3_1_52_2","first-page":"365","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems, 11th International Conference, TACAS 2005, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2005,, April 4-8, 2005, Proceedings (Lecture Notes in Computer Science, Vol. 3440)","author":"Xie Tao","year":"2005","unstructured":"Tao Xie, Darko Marinov, Wolfram Schulte, and David Notkin. 2005. Symstra: A Framework for Generating Object- Oriented Unit Tests Using Symbolic Execution. In Tools and Algorithms for the Construction and Analysis of Systems, 11th International Conference, TACAS 2005, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2005,, April 4-8, 2005, Proceedings (Lecture Notes in Computer Science, Vol. 3440). Springer, 365-381."},{"key":"e_1_3_1_53_2","unstructured":"Lin Yang Chen Yang Shutao Gao Weijing Wang Bo Wang Qihao Zhu Xiao Chu Jianyi Zhou Guangtai Liang Qianxiang Wang and Junjie Chen. 2024. An Empirical Study of Unit Test Generation with Large Language Models. CoRR abs\/2406.18181 (2024) arXiv-2406."},{"key":"e_1_3_1_54_2","unstructured":"Ahmadreza Saboor Yaraghi Darren Holden Nafiseh Kahani and Lionel C. Briand. 2024. Automated Test Case Repair Using Language Models. CoRR abs\/2401.06765 (2024) arXiv-2401."},{"key":"e_1_3_1_55_2","doi-asserted-by":"crossref","unstructured":"Hao Yu Yiling Lou Ke Sun Dezhi Ran Tao Xie Dan Hao Ying Li Ge Li and Qianxiang Wang. 2022. Automated Assertion Generation via Information Retrieval and Its Integration with Deep learning. In 44th IEEE\/ACM 44th International Conference on Software Engineering ICSE 2022 Pittsburgh PA USA May 25-27 2022. ACM 163-174.","DOI":"10.1145\/3510003.3510149"},{"key":"e_1_3_1_56_2","doi-asserted-by":"crossref","unstructured":"Wei Yuan Quanjun Zhang Tieke He Chunrong Fang Nguyen Quoc Viet Hung Xiaodong Hao and Hongzhi Yin. 2022. CIRCLE: Continual Repair across Programming Languages. In ISSTA \u201822:31st ACM SIGSOFTInternational Symposium on Software Testing and Analysis Virtual Event South Korea July 18 - 22 2022. ACM 678-690.","DOI":"10.1145\/3533767.3534219"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/3660783"},{"key":"e_1_3_1_58_2","first-page":"55:1","article-title":"A Survey of Learning-based Automated Program Repair","volume":"2","author":"Zhang Quanjun","year":"2024","unstructured":"Quanjun Zhang, Chunrong Fang, Yuxiang Ma, Weisong Sun, and Zhenyu Chen. 2024. A Survey of Learning-based Automated Program Repair. ACM Trans. Softw. Eng. Methodol. 33, 2 (2024), 55:1-55:69.","journal-title":"ACM Trans. Softw. Eng. Methodol. 33"},{"key":"e_1_3_1_59_2","article-title":"Test Case Prioritization Using Partial Attention","volume":"192","author":"Zhang Quanjun","year":"2022","unstructured":"Quanjun Zhang, Chunrong Fang, Weisong Sun, Shengcheng Yu, Yutao Xu, and Yulei Liu. 2022. Test Case Prioritization Using Partial Attention. J. Syst. Softw. 192 (2022), 111419.","journal-title":"J. Syst. Softw"},{"key":"e_1_3_1_60_2","unstructured":"Quanjun Zhang Chunrong Fang Yang Xie Yuxiang Ma Weisong Sun Yun Yang and Zhenyu Chen. 2024. A Systematic Literature Review on Large Language Models for Automated Program Repair. CoRR abs\/2405.01466 (2024) arXiv-2405."},{"key":"e_1_3_1_61_2","unstructured":"Quanjun Zhang Chunrong Fang Yang Xie Yaxin Zhang Yun Yang Weisong Sun Shengcheng Yu and Zhenyu Chen. 2023. A Survey on Large Language Models for Software Engineering. CoRR abs\/2312.15223 (2023) arXiv-2312."},{"key":"e_1_3_1_62_2","doi-asserted-by":"crossref","first-page":"2507","DOI":"10.1109\/TDSC.2023.3308897","article-title":"Pre-Trained Model-Based Automated Software Vulnerability Repair: How Far are We?","volume":"4","author":"Zhang Quanjun","year":"2024","unstructured":"Quanjun Zhang, Chunrong Fang, Bowen Yu, Weisong Sun, Tongke Zhang, and Zhenyu Chen. 2024. Pre-Trained Model-Based Automated Software Vulnerability Repair: How Far are We? IEEE Trans. Dependable Secur. Comput. 21, 4 (2024), 2507-2525.","journal-title":"IEEE Trans. Dependable Secur. Comput. 21"},{"key":"e_1_3_1_63_2","doi-asserted-by":"crossref","unstructured":"Quanjun Zhang Chunrong Fang Tongke Zhang Bowen Yu Weisong Sun and Zhenyu Chen. 2023. Gamma: Revisiting Template-Based Automated Program Repair Via Mask Prediction. In 38th IEEE\/ACM International Conference on Automated Software Engineering ASE 2023 Luxembourg September 11-15 2023. IEEE 535-547.","DOI":"10.1109\/ASE56229.2023.00063"},{"key":"e_1_3_1_64_2","unstructured":"Quanjun Zhang Ye Shang Chunrong Fang Siqi Gu Jianyi Zhou and Zhenyu Chen. 2024. TestBench: Evaluating Class Level Test Case Generation Capability of Large Language Models. arXiv e-prints abs\/2409.17561 (2024) arXiv-2409."},{"key":"e_1_3_1_65_2","doi-asserted-by":"publisher","unstructured":"Quanjun Zhang Weifeng Sun Chunrong Fang Bowen Yu Hongyan Li Meng Yan Jianyi Zhou and Zhenyu Chen. 2024. Exploring Automated Assertion Generation via Large Language Models. ACM Trans. Softw. Eng. Methodol. (Oct. 2024). https:\/\/doi.org\/10.1145\/3699598 https:\/\/doi.org\/10.1145\/3699598 Just Accepted.","DOI":"10.1145\/3699598"},{"key":"e_1_3_1_66_2","unstructured":"Quanjun Zhang Tongke Zhang Juan Zhai Chunrong Fang Bowen Yu Weisong Sun and Zhenyu Chen. 2023. A Critical Review of Large Language Model on Software Engineering: An Example from ChatGPT and Automated Program Repair. CoRR abs\/2310.08879 (2023) arXiv\u20142310."},{"key":"e_1_3_1_67_2","unstructured":"Wayne Xin Zhao Kun Zhou Junyi Li Tianyi Tang Xiaolei Wang Yupeng Hou Yingqian Min Beichen Zhang Junjie Zhang Zican Dong et al. 2023. A Survey of Large Language Models. arXiv e-prints abs\/2303.18223 (2023) arXiv-2303."}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3728951","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T13:46:54Z","timestamp":1787492814000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3728951"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,22]]},"references-count":66,"journal-issue":{"issue":"ISSTA","published-print":{"date-parts":[[2025,6,22]]}},"alternative-id":["10.1145\/3728951"],"URL":"https:\/\/doi.org\/10.1145\/3728951","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,22]]}}}