This shorter version is accepted by the FSE 2024 Demonstrations Track, and the previous longer version titled "ChatUniTest: a ChatGPT-based automated unit test generation tool" can be found at arXiv:2305.04764v1
Unit testing is an essential yet frequently arduous task. Various automated unit test generation tools have been introduced to mitigate this challenge. Notably, methods based on large language models (LLMs) have garnered considerable attention and exhibited promising results in recent years. Nevertheless, LLM-based tools encounter limitations in generating accurate unit tests. This paper presents ChatUniTest, an LLM-based automated unit test generation framework. ChatUniTest incorporates an adaptive focal context mechanism to encompass valuable context in prompts and adheres to a generation-validation-repair mechanism to rectify errors in generated unit tests. Subsequently, we have developed ChatUniTest Core, a common library that implements core workflow, complemented by the ChatUniTest Toolchain, a suite of seamlessly integrated tools enhancing the capabilities of ChatUniTest. Our effectiveness evaluation reveals that ChatUniTest outperforms TestSpark and EvoSuite in half of the evaluated projects, achieving the highest overall line coverage. Furthermore, insights from our user study affirm that ChatUniTest delivers substantial value to various stakeholders in the software testing domain. ChatUniTest is available at https://github.com/ZJU-ACES-ISE/ChatUniTest, and the demo video is available at https://www.youtube.com/watch?v=GmfxQUqm2ZQ.
DISTINCT: A Description-Guided Branch-Consistency Analysis Framework for Non-Regressive Test Case Generation
School of Computer Science and Technology, Shandong University(山东大学计算机科学与技术学院);Quancheng Lab(泉城实验室);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security, Zhejiang University(浙江大学杭州高技区(滨江)区块链与数据安全研究院)
Bridging the Gap between User Intent and LLM: A Requirement Alignment Approach for Code Generation
School of Computer Science, Wuhan University(武汉大学计算机学院);Nanyang Technological University(南洋理工大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Key Lab of High Confidence Software Technology, MoE (Peking University)(北京大学 教育部高可信软件技术重点实验室);The University of Hong Kong(香港大学);Wuhan University(武汉大学);Peking University(北京大学)
Search-Induced Issues in Web-Augmented LLM Code Generation: Detecting and Repairing Error-Inducing Pages
Peking University(北京大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Singapore Management University(新加坡管理大学);Fuzhou University(福州大学)
Exploring the Potential of Diffusion Large Language Models in Code Generation
College of AI, Tsinghua University(清华大学人工智能学院);School of Computer Science, Nanjing University(南京大学计算机科学学院);School of Computer Science and Engineering, Beihang University(北航计算机科学与工程学院);School of Computer Science, Peking University(北京大学计算机科学学院)
Renaissance of Literate Programming in the Era of LLMs: Enhancing LLM-Based Code Generation in Large-Scale Projects
University of Illinois Chicago(伊利诺伊大学芝加哥分校);Stony Brook University(石溪大学);Rutgers University(罗格斯大学);John Hopkins University(约翰霍普金斯大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Dali University(大理大学)
Evaluation of Code LLMs on Geospatial Code Generation
Wrocław University of Science and Technology(弗罗茨瓦夫理工大学);INESC-ID;LUMLIS (Lisbon ELLIS Unit)(LUMLIS(里斯本ELLIS单元));Instituto Superior Técnico(高等技术学院);University of Lisbon(里斯本大学)