A novel approach of test case generation for Boolean specification

Li Leifang,Xu Baowen,Chen Zhenyu,Zhang Xiaofang,Dong Guowei
DOI: https://doi.org/10.3969/j.issn.1001-0505.2010.02.014
2010-01-01
Abstract:In order to raise the efficiency of test generation for Boolean specification testing,the traditional iterative assignment approach is improved by transforming test condition into an expression similar to conjunctive normal form(CNF).For a given literal negation fault(LNF) or literal reference fault(LRF) in Boolean expressions,this approach backtracks from the mutated leaf node in the parser tree,and test condition is decompounded into sub-expressions.After each sub-expression is assigned iteratively to obtain its satisfying assignments,the test case is generated by combining all these assignments.Experimental results show that the proposed approach reduces the iteration counts and time consumption.The reducing rates of iteration counts and consumed time have an approximately linear relationship.Especially,there is a more significant efficiency improvement for LRF than for LNF.The iteration of decompounded test condition can reduce the whole iteration counts,so the efficiency of test generation is improved.
What problem does this paper attempt to address?