US 12,007,880 B2
Dynamic test automation prioritization
Johnson Wong, Vancouver (CA)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on Dec. 14, 2021, as Appl. No. 17/551,019.
Prior Publication US 2023/0185700 A1, Jun. 15, 2023
Int. Cl. G06F 11/36 (2006.01)
CPC G06F 11/3688 (2013.01) [G06F 11/3692 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer system, comprising:
one or more processors;
one or more machine-readable medium coupled to the one or more processors and storing computer program code comprising sets of instructions executable by the one or more processors to:
determine a ranking of a plurality of tests from historical test data for a software application, the historical test data including identifiers of the plurality of tests and indications of failure corresponding to the plurality of tests, the historical test data indicating a number of failures for each test of the plurality of tests previously encountered when testing the software application, the ranking of the plurality of tests based on the number of failures for each test;
determine a test configuration for testing the software application based on the ranking, the test configuration setting an order for performing the plurality of tests such that tests that are ranked higher are performed before tests that are ranked lower;
perform a set of tests on the software application based on the test configuration, the performance of the set of tests on the software application including performing the plurality of tests in the order set by the test configuration;
update the historical test data based on the performance of the set of tests to obtain updated historical test data, the updated historical test data including an identifier of any particular test that failed during the performance of the set of tests and a corresponding indication of failure;
detect that a failure is encountered in a particular test during the set of tests on the software application; and
cease the performance of the set of tests upon the detection of the failure such that tests in the set of tests that would be performed after the particular test, according to the order set by the test configuration, are not performed.