Paper Details

Abstract

Automation with large language models (LLMs) is transforming software development, including testing - one of the most resource-intensive stages of the development life cycle. In this paper, we focus on automating test code generation of behavior-driven development (BDD) scenarios. Currently, from BDD scenarios, one can only generate test function signatures, and the developers have to write test scripts that controls the software and verifies the results. Given the BDD scenarios and the system under test, we use LLMs to generate end-to-end test code that includes the body of the BDD test functions. This is a significant advancement in automation as fully functional test codes are generated, saving a significant amount of work for developers. The experimental results show great potential for reducing the effort in acceptance testing.

Keywords
BDD Test LLMs automation test
Contact Information
Hoang Anh Truong (Corresponding Author)
Faculty of Information and Communication Technology, CMC University, Hanoi, Vietnam, Viet Nam
0123456789

All Authors (3)

Nhung Hong Nguyen

Affiliation: FPT University

Country: Viet Nam

Email: nhungnth69@fe.edu.vn

Phone: 0763632505

Lam The Tran

Affiliation: Institute of Digital Technology And Artificial Intelligence,

Country: Viet Nam

Email: lamtt2403@gmail.com

Phone: 0123456789

Hoang Anh Truong C

Affiliation: Faculty of Information and Communication Technology, CMC University, Hanoi, Vietnam

Country: Viet Nam

Email: truonganhhoang@gmail.com

Phone: 0123456789