This application relates to a
test case scheduling method, apparatus,
computer device, and storage medium, belonging to the field of
cloud computing testing technology. The method includes: obtaining the dependencies between multiple test cases; constructing a
test case network based on the dependencies; splitting the
test case network based on the root test case and the number of dependent test cases for each test case, obtaining at least two types of test case sets: a test case set without dependencies, a test case tree set, and a test case graph set; the test cases in the test case tree set constitute a first test case tree, and the test cases in the test case graph set constitute a second test case tree; determining the total
execution time corresponding to the test cases in each test case set; and determining the execution
machine allocated to each test case set based on the total
execution time; scheduling the test cases in each test case set according to the corresponding execution
machine and the calling strategy corresponding to the test case set; wherein different test case sets correspond to different calling strategies. This method can improve the testing efficiency of test cases.