US 12,282,417 B2
Retrying failed test cases in software testing using parallel threads
Shaktiraj Chauhan, Normal, IL (US); and Nate Shepherd, Bloomington, IL (US)
Assigned to State Farm Mutual Automobile Insurance Company, Bloomington, IL (US)
Filed by State Farm Mutual Automobile Insurance Company, Bloomington, IL (US)
Filed on Jun. 16, 2023, as Appl. No. 18/336,757.
Application 18/336,757 is a continuation of application No. 17/333,637, filed on May 28, 2021, granted, now 11,720,482.
Claims priority of provisional application 63/152,754, filed on Feb. 23, 2021.
Prior Publication US 2023/0333973 A1, Oct. 19, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 11/36 (2006.01); G06F 11/3668 (2025.01); G06N 20/00 (2019.01)
CPC G06F 11/3688 (2013.01) [G06F 11/3692 (2013.01); G06F 11/3696 (2013.01); G06N 20/00 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
distributing, by one or more processors, a group of test cases among different test sets, wherein the group of test cases is configured to test interactions between a software application and a database;
executing, by the one or more processors, the different test sets in parallel;
identifying, by the one or more processors, a set of failed test cases comprising test cases that:
were executed during execution of the different test sets in parallel, and
produced test results indicating that the software application failed to pass the test cases;
determining, by the one or more processors, causes of failures of the test cases in the set of failed test cases;
identifying, by the one or more processors, failure codes that correspond to the causes of the failures of the test cases in the set of failed test cases;
determining, by the one or more processors, and based on the failure codes, an execution order for re-execution of the test cases in the set of failed test cases; and
re-executing, by the one or more processors, the test cases in the set of failed test cases based on the execution order.