检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:马慧芳[1] 费自强 范孝彬 MA Hui-fang;FEI Zi-qiang;FAN Xiao-bin(China National Aeronautical Radio Electronics Research Institute,Shanghai 200233,China)
出 处:《航空电子技术》2023年第1期42-46,共5页Avionics Technology
摘 要:针对测试工具TestBed无法动态执行QT程序单元测试用例的问题,文章通过介绍单元测试定义、测试原理以及TestBed工具的使用原理、并指出了TestBed工具对QT程序进行单元测试存在的问题,最终提出了一种结合TestBed和Visual Studio对QT程序进行单元测试的方法,并给出了方法的详细设计与实现步骤,为QT程序动态执行单元测试提供一种简单、便捷的实现方式。实际结果表明,结合TestBed与Visual Studio对QT程序的单元测试方法显著提高了单元测试的效率,减少了单元测试的成本。Aiming at the problem that test tool TestBed cannot dynamically implement unit testing of QT program,in-troduces the definition of unit testing and the principle of unit testing and TestBed tool are introduced,and the problems of unit testing of QT program by TestBed tool are pointed out,then a method that combines TestBed and Visual Studio to do unit testing of QT program is proposed,and detailed steps of design and implementation and a simple implemen-tation method for unit testing of QT program are described.As the result of practical application,the method combining TestBed and Visual Studio in unit testing of QT program improves the efficiency of unit testing,decreases cost of unit testing.
关 键 词:QT 单元测试 TESTBED Visual Studio
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.171