arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2206.00253cs.SE
收藏

用于增强软件质量的智能UNIT LEVEL TEST生成器

Intelligent UNIT LEVEL TEST Generator for Enhanced Software Quality

Ning Luo, Linlin Zhang

摘要:

单元级测试是提高软件质量的重要手段,因为它可以在开发阶段早期暴露软件缺陷。然而,手动单元级测试开发通常是乏味和不足的。此外,开发人员很难自己精确地识别出最容易出错的代码块,这些代码块应该得到最好的测试覆盖率。在本文中,我们提出了自动单元级测试框架,我们用于英特尔媒体驱动程序的开发。它可以帮助我们识别最关键的代码块,提供测试覆盖率建议,并自动生成>80%的可重用代码(约40万行测试代码)以及约35%的测试用例(约7K测试用例)。它可以帮助我们将平均每1000行驱动程序源代码的开发工作量从大约24个工时减少到大约3个工时。

英文摘要:

Unit level test has been widely recognized as an important approach to improve the software quality, as it can expose bugs earlier during the development phase. However, manual unit level test development is often tedious and insufficient. Also, it is hard for developers to precisely identify the most error prone code block deserving the best test coverage by themselves. In this paper, we present the automatic Unit level test framework we used for intel media driver development. It can help us identify the most critical code block, provide the test coverage recommendation, and automatically generate >80% ULT code (~400K Lines of test code) as well as ~35% test cases (~7K test cases) for intel media driver. It helps us to greatly shrink the average ULT development effort from ~24 Man hours to ~3 Man hours per 1000 Lines of driver source code.

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

↑