论文部分内容阅读
从覆盖率方面,实例分析了计量终端功能测试的人工测试方式和自动化测试方式的优劣。针对计量终端自动化功能测试装置到货验收功能测试时测试用例的选取难以平衡测试效率和测试覆盖率的问题,提出一种等价类划分法和判定表驱动法结合的方法,首先根据技术要求的各个条件提取等价类,按析因试验设计思想将等价类穷尽组合,得到初始判定表,再由判定表驱动法对其缩减,提取测试用例集。通过广西某单位自动化终端测试装置到货验收测试实例,分析了所设计的测试用例识别出被测装置功能缺陷的过程,结果表明该方法可在等价体全覆盖的基础上减小测试用例数量,提升测试效率。
From the aspect of coverage, this paper analyzes the advantages and disadvantages of manual testing and automated testing of functional testing of terminal. Aiming at the problem that the test cases are difficult to balance the test efficiency and the test coverage when testing the arrival acceptance function of the automatic terminal device, a method of combining the equivalence class and decision table driving method is proposed. Firstly, according to the technical requirements According to the design of factorial experiments, the equivalence classes are exhausted and combined to obtain the initial decision table, which is then reduced by the decision table driving method to extract the test case sets. Through the acceptance test of a terminal automation device in a certain unit in Guangxi, the process of identifying the functional defect of the device under test is analyzed. The results show that this method can reduce the number of test cases based on the full coverage of equivalent body , Improve test efficiency.