4 papers · 1 filter
Agent-Based Test Assertion Generation via Diverse Perspective Aggregation
Dong Wang, Qiaoyu Han, Lin Yang +3
Test assertions are critical elements of unit tests, serving as checkpoints to validate expected behavior and ensure software correctness. Numerous techniques have been proposed to…
Clarifying Semantics of In-Context Examples for Unit Test Generation
Chen Yang, Lin Yang, Ziqi Wang +3
Recent advances in large language models (LLMs) have enabled promising performance in unit test generation through in-context learning (ICL). However, the quality of in-context exa…
Reflective Unit Test Generation for Precise Type Error Detection with Large Language Models
Chen Yang, Ziqi Wang, Yanjie Jiang +4
Type errors in Python often lead to runtime failures, posing significant challenges to software reliability and developer productivity. Existing static analysis tools aim to detect…
On the Evaluation of Large Language Models in Unit Test Generation
Lin Yang, Chen Yang, Shutao Gao +8
Unit testing is an essential activity in software development for verifying the correctness of software components. However, manually writing unit tests is challenging and time-con…