US 12,380,017 B2
Method, apparatus and device for software testing, and computer-readable storage medium
Cunhao Gong, Hefei (CN)
Assigned to Hefei Suneco Technology Co., Ltd., Hefei (CN)
Filed by Hefei Suneco Technology Co., Ltd., Hefei (CN)
Filed on Feb. 16, 2023, as Appl. No. 18/170,010.
Claims priority of application No. 202210344223.4 (CN), filed on Apr. 2, 2022.
Prior Publication US 2023/0350794 A1, Nov. 2, 2023
Int. Cl. G06F 11/3668 (2025.01); G06F 9/50 (2006.01)
CPC G06F 11/3688 (2013.01) [G06F 9/50 (2013.01); G06F 11/3676 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A method for software testing, comprising:
acquiring a first test case set for to-be-tested software, and dividing the first test case set into a plurality of first test sequences;
loading, for each first test sequence of the plurality of first test sequences, a test case from the first test sequence to a test unit corresponding to the first test sequence at the beginning of the software testing, to execute the loaded test cases by the plurality of test units in parallel; and
during the software testing, acquiring test progress information of the plurality of first test sequences, and distributing outstanding test cases in the plurality of first test sequences based on the acquired test progress information to modify the numbers of test cases in the respective first test sequences, wherein the outstanding test case is a test case to be loaded into a corresponding test unit for execution,
wherein the method further comprising:
after the loading, for each of the plurality of first test sequences, a test case from the first test sequence to a test unit corresponding to the first test sequence at the beginning of the software testing, to execute the loaded test cases by a plurality of test units in parallel,
acquiring a second test case set for performing a second round of testing on the to-be-tested software after finishing a first round of testing on the to-be-tested software based on the first test case set;
acquiring, for each of the plurality of test units, a case list of test cases executed by the test unit after finishing the first round of testing on the to-be-tested software based on the first test case set;
dividing the second test case set based on the plurality of case lists to obtain a plurality of second test sequences; and
loading, for each of the plurality of second test sequences, a test case from the second test sequence to the test unit corresponding to the second test sequence at the beginning of the second round of testing, to execute the loaded test cases by the plurality of test units in parallel.