Test Design Method Selection Strategy

①Firstly, use classification tree or equivalence class to divide the input field of the function, and turn infinite test into finite test, which is the most effective way to reduce workload and improve test efficiency.
②In any case, the method of boundary value analysis must be used. Experience shows that the test cases designed in this way have the strongest ability to find program errors.
③ For parameter configuration software, it is necessary to use combination testing technology to select fewer combination methods to achieve the best results.
④ If the function description of the program contains the combination of input conditions, the cause-and-effect diagram method can be used to draw the decision table at the beginning, and then the decision table method can be used to continue the test.
⑤For a system with clear business flow, the scenario test method can run through the entire test case process to comprehensively examine the main business process, functions and error handling capabilities of the software.
⑥The state transition test is very effective for software design test cases that clearly have different state transitions. We can design different test data through the validity of the transition conditions between different states.
⑦ Check the logical coverage of the designed test cases against the program logic. If the required coverage standard is not met, sufficient test cases should be supplemented.
⑧If the automatic generation and use of test cases can be combined with the reality of the software under test, multiple methods such as classification tree, state transition test, and random test can be considered.
⑨For the specifications defined in a formal way, grammar testing is a more suitable way.

Guess you like

Origin blog.csdn.net/MARKDD915/article/details/130796923