Maximally parallel test script execution
AssigneeMicro Focus LLC
InventorsJun-Chen Peng, Xiang Gao, Kai Long, Ruixiang Chen, Lingli Wu
Life of this patent
Estimating the term…
Abstract
A test script is divided into tests having a sequential order within the test script. An analysis tree of the tests can be generated. Each unique path through the analysis tree includes a subset of the tests as sequentially ordered within the test script. A maximally parallel subset of the unique paths that covers all the tests and according to which the tests are successfully executable is identified. Each test appears in only one unique path of the maximally parallel subset.
Claims20
A method comprising:
- dividing, by a processor, a test script into a plurality of tests, the tests having a sequential order within the test script;
- generating, by the processor, an analysis tree of the tests, each of a plurality of unique paths through the analysis tree including a subset of the tests as sequentially ordered within the test script;
- and
- identifying, by the processor, a maximally parallel subset of the unique paths that covers all the tests and according to which the tests are successfully executable, each test appearing in only one unique path of the maximally parallel subset.
A non-transitory computer-readable data storage medium storing program code executable by a processor to perform processing comprising:
- causing sequential execution of a plurality of test commands of a test script, the test commands sequentially ordered within the test script;
- monitoring a parameter as the test commands are sequentially executed;
- and
- dividing the test commands over a plurality of tests of the test script in correspondence with changes in the parameter greater than a threshold.
A system comprising:
- a plurality of testing devices of different testing device types;
- a testing manager device to, for each unique path of a maximally parallel subset of unique paths that cover all tests into which a test script has been divided:
- attempt execution of the tests covered by the unique path on the testing devices of the different testing device types;
- mark, as an impermissible testing device type for the unique path, each testing device type of the testing devices on which the execution of any test covered by the unique path failed;
- and
- assign the tests covered by the unique path to the testing devices other than the testing devices of any impermissible testing device type for the unique path.
Dependencies are inferred from the claim text.