The application provides a
test case automatic generation
system based on a probability
extended finite state machine, which can improve the efficiency and quality of
test case generation, and finally generates test cases through probability selection on the processed PEFSM model. The
system comprises a PEFSM model construction module, a removing unfeasible path module and a
test case probability generation module. The PEFSM model construction module obtains relevant data for constructing a model from a user historical operation
record database according to the requirement specification and
interface design of a
system under test, and outputs a PEFSM model describing the behavior of the
system under test. The removing unfeasible path module takes the PEFSM model as input, adopts an evaluation path feasibility measurement method to identify and remove unfeasible paths in the PEFSM model, and outputs a reliable
test path set formed by a transition path set. The test case probability generation module takes the reliable
test path set as input, initializes context variables, and instantiates test paths in the path set to obtain test cases of the
system under test.