计算机应用研究
計算機應用研究
계산궤응용연구
APPLICATION RESEARCH OF COMPUTERS
2013年
3期
779-782
,共4页
软件测试%测试用例%测试需求约简%测试用例约简
軟件測試%測試用例%測試需求約簡%測試用例約簡
연건측시%측시용례%측시수구약간%측시용례약간
software testing%test suites%test suites reduction%test requirements reduction
针对测试用例约简问题, 定义了一种不会改变测试需求与测试用例覆盖关系的布尔运算。应用此运算, 辅以不同的测试需求、用例集优先策略, 经矩阵的列变换得到精简的测试需求集, 然后使用行变换对测试用例集进行约简。该方法不受测试用例输入顺序的影响。实验表明, 与一些常用的约简算法相比, 提出的算法在有序树生成程序测试用例约简的几个实例上都能得到较优的用例集。
針對測試用例約簡問題, 定義瞭一種不會改變測試需求與測試用例覆蓋關繫的佈爾運算。應用此運算, 輔以不同的測試需求、用例集優先策略, 經矩陣的列變換得到精簡的測試需求集, 然後使用行變換對測試用例集進行約簡。該方法不受測試用例輸入順序的影響。實驗錶明, 與一些常用的約簡算法相比, 提齣的算法在有序樹生成程序測試用例約簡的幾箇實例上都能得到較優的用例集。
침대측시용례약간문제, 정의료일충불회개변측시수구여측시용례복개관계적포이운산。응용차운산, 보이불동적측시수구、용례집우선책략, 경구진적렬변환득도정간적측시수구집, 연후사용행변환대측시용례집진행약간。해방법불수측시용례수입순서적영향。실험표명, 여일사상용적약간산법상비, 제출적산법재유서수생성정서측시용례약간적궤개실례상도능득도교우적용례집。
In allusion to the problem of test requirements reduction, this paper defined a new Boolean operation of the relationships which didn't change the coverage of test suites to test requirements. Redundance requirements was reducted by column transformation operation of matrix basis of the interrelations among the testing requirements, then test suites could be reducted by row transformation operation of matrix. The experimental results based on several cases shows that, compared with some other existed methods, this method has better property that can generate the minimal test suite to test all the test requirements sufficiently.