JUnit test case simplification method based on execute sequences

Dan Hao,Hong Mei,Lingming Zhang,Lu Zhang
2012-01-01
Abstract:The invention provides a JUnit test case simplification method based on execute sequences, belonging to the technical filed of test case simplification in software test. The invention provides a K-sequence expression method to describe each JUnit test case to represent the call sequence of each JUnit test case to the method, and simplifies a JUnit test case set by taking the method call sequencescontained by all JUnit test cases as the condition of to be constant before and after simplification, thus ensuring the simplified test case set to reveal the errors sourcing from inappropriate single method call and inappropriate call sequences of multiple methods. The test case simplification technology provided by the invention can improve the error discover performance of the simplified test case set and reduce the test effect loss generated during the test case simplification process.
What problem does this paper attempt to address?