Skip to Main Content
Test data is generated by making use of minimization branch function for a given path. This method is classical but it needs to iteratively calculate the current value of the variable in the predicate for the given path. For this reason, this paper devised a model for test data generation based on predicate slice by means of combining existed slicing technology with the hybrid encoding genetic algorithm proposed by us. The results of analyzing in theory show that this model is correct and efficient.