As the current specification-based testing (SBT) face some challenges in test case generation for regression testing, we propose a new method for efficient test case generation that combines formal specifications with genetic algorithm (GA). This method mainly reforms formal specifications though GA to generate inputs that can kill as many as possible mutants of the target program under test. For case study, two classic examples are presented to demonstrate the efficiency of this method. The result shows that this method is able to help efficiently generate useful test cases to uncover all the program mutants, which contributes to further maintenance of software.
Rong WangYuji SatoShaoying Liu
Man Fai LauYuen Tak YuPak‐Lok Poon
Ruchika MalhotraShivani Pandey
Peng LinXiaolu BaoZhiyong ShuXiaojuan WangJingmin Liu