摘要
HLA标准有着数百条接口规范,其测试需要大量的人力,需要研究有效的自动化测试方法。针对目前HLA的测试用例不易组织和不完备的问题,提出了一种交叉检验的自动化测试方法。将测试接口按功能划分为不同的测试序列,把测试序列中的接口填入交叉检验表中进行关系判定,根据接口关系生成测试用例树并最终自动生成测试用例。在此基础上采用通用的测试程序框架,结合Rational Robot的自动化测试功能,设计了自动化测试同步控件,实现了在多台计算机上的RTI软件自动化测试。实验结果表明,该自动化测试方法达到了正确的功能,可大大降低开发测试人员的工作量。
HLA standard has hundreds of interfaces, so its compliance testing endures much effort. It's important to develop automated test methods. Aiming at the generation problem of many test cases, a cross-examination automatic test method was proposed. Test cases were filled into a cross-examination form on function manually. Then, according to the relationship of the interfaces, a test-case-tree could be exported and finally the test cases were generated automatically. Consequently, a universal test framework was established and Rational Robot was used as automation test tool. A synchronization component was designed for the RTI automation test on multi-computers. Experiment proves that cross-examination works well and the automatic test can reduce the workload considerably.
出处
《系统仿真学报》
CAS
CSCD
北大核心
2009年第17期5440-5444,5466,共6页
Journal of System Simulation
基金
国家863计划(2006AA01Z331)
国家自然科学基金(60603084)