摘要
虚拟试验是通过大量平台软件验证实物试验的可行性,达到"以实验虚以虚辅实以虚预实"的目的;这对平台软件的稳健性具有较高的要求,软件测试是提高软件产品质量的重要手段,而其中的单元测试是对软件模块的功能测试;CppUnit主要用于实现对软件的单元测试,基于CppUnit提出了一种应用于虚拟试验平台软件的单元测试方法,实现了对平台软件功能的单元测试,平台使用者在软件开发阶段不仅能较好地验证软件的稳健性,而且能提高虚拟试验验证的效率,为实物试验提供参考依据。
Virtual test validates the feasibility of physical test via platform software, so that the software needs to have stronger stability. Software testing is an important way to improve the quality of software, and unit testing implements the test of software's functions. CppUnit can implement software's unit testing. This article provides a unit testing method which is based on CppUnit for virtual test platform software. This method implements the unit testing for software' s functions. Users can validate software's stability better during software development phase. The proposed method will improve the efficiency of virtual tesfs validation and provide references for physical test.
出处
《计算机测量与控制》
2015年第4期1155-1157,1160,共4页
Computer Measurement &Control
关键词
虚拟试验
软件测试
单元测试
稳健性
virtual test
software testing
unit testing
stability