White-box testing method for functional security software and related equipment
The invention provides a white-box test method for functional security software and related equipment. The white-box test method comprises the following steps: setting a plurality of initial test cases according to a value interval of a selection branch contained in a program flow chart of the funct...
Saved in:
Main Authors | , , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
23.05.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a white-box test method for functional security software and related equipment. The white-box test method comprises the following steps: setting a plurality of initial test cases according to a value interval of a selection branch contained in a program flow chart of the functional security software, the plurality of initial test cases respectively corresponding to a plurality of positions in a coordinate system; respectively substituting the plurality of initial test cases into the selection branches for execution to obtain respective execution time of the plurality of initial test cases; in response to determining that the execution time of one initial test case in the plurality of initial test cases is greater than a preset time threshold value, taking the initial test case as a local optimization test case; based on a target position corresponding to the local optimization test case in a plurality of positions, taking the plurality of initial test cases as a particle swarm, and iter |
---|---|
Bibliography: | Application Number: CN202111374610 |