A Generation and Simplification Algorithm of Software Test Cases
Huiying Zhang · Journal of Spacecraft TT&C Technology · 2013
It is usually difficult for testers to design test cases that insure test coverage when testing software with a large number of states,parameters and complex relations between them.To solve the problem,an algorithm is proposed to generate and optimize test cases.A model named TPCA(Test Path Control Array) is proposed and it can be used in combination with Causality Chart and adequate test cases can be implemented through programming in a convenient manner.This avoids mistakes in manual drawing of Causality Chart and check of judgment table.When used in testing host-backup-switch function of real time systems,the algorithm generates 32 test cases.As a result,these test cases are effective with a good coverage.