AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

An Empirical Study on Automated Test Generation Tools for Java: Effectiveness and Challenges

State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210023, China
Department of Computer Science and Technology, Nanjing University, Nanjing 210023, China
Show Author Information

Abstract

Automated test generation tools enable test automation and further alleviate the low efficiency caused by writing hand-crafted test cases. However, existing automated tools are not mature enough to be widely used by software testing groups. This paper conducts an empirical study on the state-of-the-art automated tools for Java, i.e., EvoSuite, Randoop, JDoop, JTeXpert, T3, and Tardis. We design a test workflow to facilitate the process, which can automatically run tools for test generation, collect data, and evaluate various metrics. Furthermore, we conduct empirical analysis on these six tools and their related techniques from different aspects, i.e., code coverage, mutation score, test suite size, readability, and real fault detection ability. We discuss about the benefits and drawbacks of hybrid techniques based on experimental results. Besides, we introduce our experience in setting up and executing these tools, and summarize their usability and user-friendliness. Finally, we give some insights into automated tools in terms of test suite readability improvement, meaningful assertion generation, test suite reduction for random testing tools, and symbolic execution integration.

Electronic Supplementary Material

Video
JCST-2109-11935-Video.mp4
Download File(s)
JCST-2109-11935-Highlights.pdf (138.5 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 715-736

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Liu X-J, Yu P, Ma X-X. An Empirical Study on Automated Test Generation Tools for Java: Effectiveness and Challenges. Journal of Computer Science and Technology, 2024, 39(3): 715-736. https://doi.org/10.1007/s11390-023-1935-5

779

Views

6

Crossref

3

Web of Science

2

Scopus

0

CSCD

Received: 24 September 2021
Accepted: 21 November 2023
Published: 22 June 2024
© Institute of Computing Technology, Chinese Academy of Sciences 2024