CPC G06F 11/3664 (2013.01) [G05B 23/0256 (2013.01); G06F 11/3688 (2013.01)] | 10 Claims |
1. A method for testing control software, comprising:
providing an automatic test function-block;
obtaining test information of a plurality of fault signals via the automatic test function block executing on a processor, the test information of the plurality of fault signals comprising serial number information of the plurality of fault signals including a start number and an end number of the fault signals; and
injecting, based on the test information of the plurality of fault signals, the plurality of fault signals into a simulation environment in sequence to obtain test results of the plurality of fault signals handled by the control software, wherein the simulation environment is a simulation environment of a control object of the control software,
wherein before starting of testing a next fault signal of each of the plurality of fault signals, the automatic test function block is configured to purge the fault signals before automatically activating Stop, Reset, and Start buttons in sequence to restart the simulation environment and resume operation of the simulation environment without fault.
|