Generating Class Test Case in Parallel on Multi-core Computers

WU Xi-hua,ZHONG Cheng,MO Ying-hong,TANG Jin-hui
DOI: https://doi.org/10.3969/j.issn.1000-3428.2010.19.031
2010-01-01
Abstract:The definition-use pair for each instance variable and the post conditions and preconditions for each member function are computed by the class data flow analysis.The class to be tested is preprocessed by the inheritance and the polymorphism of the class.The search environment of Java PathFinder(JPF) is configured,and the problem of generating test case is transformed into the one of finding the counter example in model check.A method to generate the class test case in parallel with multi-threading is presented on multi-core computers.Experimental results show that the algorithm can remarkably reduce the required states and run time of the test case generation,and spends the less time with more processing cores used.
What problem does this paper attempt to address?