计算机应用与软件2018,Vol.35Issue(4):21-27,7.DOI:10.3969/j.issn.1000-386x.2018.04.005
用于多条件组合问题的测试用例设计新方法
A NEW METHOD OF TEST CASE DESIGN FOR MULTI-CONDITION COMBINATION PROBLEM
摘要
Abstract
Aiming at the problem of low efficiency of cause-effect graph test cases design,this paper proposed to use cause-effect expression instead of cause-effect graph to test case design.First of all,the grammatical rules of cause-effect expression were formulated.Then,we designed a decision table class for test case design.Finally,a test case design tool for multi-condition combination problems was implemented through visual design and algorithm design.The tool included features such as test input editing,test case auto-generation,and test case maintenance.Compared with cause-effect graph method,this method did not draw and traverse the cause-effect graph.The method only needed to analyze the grammar of the cause-effect expression to simplify the decision table,and improved the design and maintenance efficiency of the multi-condition combination test case.关键词
因果图/因果表达式/测试用例/决策表/黑盒测试Key words
Cause-effect graph/Cause-effect expression/Test case/Decision table/Black-box testing分类
信息技术与安全科学引用本文复制引用
王敏,谢永平..用于多条件组合问题的测试用例设计新方法[J].计算机应用与软件,2018,35(4):21-27,7.基金项目
湖北省自然科学基金项目(2016CKC774) (2016CKC774)
湖北省教育厅科学研究计划立项项目(Q20174603). (Q20174603)