arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.09249cs.SEcs.CLcs.LG
收藏

基于两阶段生成模型的电信软件系统测试代码生成

Test Code Generation for Telecom Software Systems using Two-Stage Generative Model

Global AI Accelerator, Ericsson(爱立信全球人工智能加速器)

Mohamad Nabeel, Doumitrou Daniil Nimara, Tahar Zanouda

AI总结:

针对电信软件系统复杂化带来的测试开发难题,提出两阶段自动化测试生成框架,结合时间序列生成模型与大语言模型生成测试数据和脚本,经多数据集验证效果良好。

摘要:

近年来,电信行业朝着智能化、自主化、开放网络方向演进,使得电信软件系统日益复杂,需支持各类异构部署场景,兼容多标准、多厂商设备。因此,大型电信软件企业为所有部署场景开发并测试软件成为一项挑战。为应对这些挑战,我们提出了一套面向大规模电信软件系统的自动化测试生成框架。我们首先利用在现场试验期间采集的历史电信网络数据训练的时间序列生成模型,为观测到的测试场景生成测试用例输入数据,该时间序列生成模型还有助于保护电信数据隐私。随后,生成的时间序列软件性能数据与自然语言书写的测试描述相结合,通过生成式大语言模型生成测试脚本。我们在公开数据集以及从运营电信网络获取的电信数据集上开展了综合实验,结果表明该框架能够有效生成全面的测试用例数据输入和实用的测试代码。

英文摘要:

In recent years, the evolution of Telecom towards achieving intelligent, autonomous, and open networks has led to an increasingly complex Telecom Software system, supporting various heterogeneous deployment scenarios, with multi-standard and multi-vendor support. As a result, it becomes a challenge for large-scale Telecom software companies to develop and test software for all deployment scenarios. To address these challenges, we propose a framework for Automated Test Generation for large-scale Telecom Software systems. We begin by generating Test Case Input data for test scenarios observed using a time-series Generative model trained on historical Telecom Network data during field trials. Additionally, the time-series Generative model helps in preserving the privacy of Telecom data. The generated time-series software performance data are then utilized with test descriptions written in natural language to generate Test Script using the Generative Large Language Model. Our comprehensive experiments on public datasets and Telecom datasets obtained from operational Telecom Networks demonstrate that the framework can effectively generate comprehensive test case data input and useful test code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑