Abstract:In view of the demand of changing the input excitation of the tested functionfor many times in software unit coverage test, taking Testbed as the test platform andcombining the variable variation characteristics, a method of pile function assignment withdynamic updating of input variable excitation is proposed, The experimental results showthat the method can effectively solve the problem of low test coverage of the function undertest with variable input excitation. The accuracy of test case design and the sufficiency ofcode test coverage are improved.