摘要
随着软件规模的扩大,其成本已经超过硬件,因此,完善的软件测试是保证软件质量的一个重要手段。随着Python语言的快速发展与普及,其在软件测试中发挥着重要的作用。文章介绍了Python语言自带的Unittest框架完成自动化测试框架的搭建,并结合一些些测试实例,介绍了Unittest框架的自动化测试的设计方法,从而提高测试效率和质量[1]。
With the development of software technology,its cost has exceeded the hardware,and most of the hardware are running software.It is a key problem to ensure software quality through perfect software testing.With the rapid development and popularization of the artificial intelligence language Python,it is very important to study the automatic test of Python language system.This article introduces the Python language built-in Unittest framework for building test automation.With some test examples,this paper introduces the design method of automatic test of Unittest framework,so as to improve the efficiency and quality of test.
作者
王春明
WANG Chunming(Nvidia Semiconductor Technology(Shanghai)Co.,Ltd.,Shanghai 200120,China)
出处
《数字通信世界》
2023年第3期66-69,共4页
Digital Communication World