Yinghao Chen

Yinghao Chen

Auto-generated profile, based on publicly available information

Yinghao Chen

Zhejiang University, Ningbo, China

Research Focus & Metrics

Academic Career Length

22Years (2005-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
10 July 2024
Verified
Conference Paper
Open access
YCYinghao Chen
Yinghao Chen
ZHZehao Hu
Zehao Hu
CZChen Zhi
Chen Zhi
JHJunxiao Han
Junxiao Han
Shuguang DengShuguang Deng
Shuguang Deng
JYJianwei Yin
Jianwei Yin
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.

1 September 2005 in Journal of Materials Science
Verified
Journal Article
Closed access
PDF file
YCY. S. Chen
Y. S. Chen
YLYang Li
Yang Li
MYM. J. Yang
M. J. Yang