ADOPTING AN EXISTING AUTOMATION SCRIPT TO A NEW FRAMEWORK
First Claim
1. A system comprising:
- a processor programmed to initiate executable operations comprising;
receiving a first version of an automation script configured to execute in a first framework and expected unit test results for the automation script;
automatically creating a second version of the automation script from the first version of the automation script, the second version of the automation script configured to execute in at least a second framework;
executing the first version of the automation script in the first framework to run a first version of a unit test and executing the second version of the automation script in the second framework to run a second version of the unit test;
comparing at least a first output generated by the first version of the automation script running the first version of the unit test and at least a second output generated by the second version of the automation script running the second version of the unit test to at least one expected unit test result to determine whether the first output and the second output correlate with the expected unit test result; and
responsive at least to the first output and the second output correlating with the expected unit test result, determining the second version of the automation script is valid.
1 Assignment
0 Petitions
Accused Products
Abstract
Arrangements described herein relate to adopting an existing automation script to a new framework. A first version of an automation script configured to execute in a first framework, and expected unit test results for the automation script, are received. A second version of the automation script is created from the first version of the automation script. The second version of the automation script is configured to execute in at least a second framework. The first version of the automation script is executed in the first framework to run a first version of a unit test and the second version of the automation script is executed in the second framework to run a second version of the unit test. Results generated by execution of the first and second versions of the automation script are analyzed to validate the second version of the automation script.
12 Citations
14 Claims
-
1. A system comprising:
-
a processor programmed to initiate executable operations comprising; receiving a first version of an automation script configured to execute in a first framework and expected unit test results for the automation script; automatically creating a second version of the automation script from the first version of the automation script, the second version of the automation script configured to execute in at least a second framework; executing the first version of the automation script in the first framework to run a first version of a unit test and executing the second version of the automation script in the second framework to run a second version of the unit test; comparing at least a first output generated by the first version of the automation script running the first version of the unit test and at least a second output generated by the second version of the automation script running the second version of the unit test to at least one expected unit test result to determine whether the first output and the second output correlate with the expected unit test result; and responsive at least to the first output and the second output correlating with the expected unit test result, determining the second version of the automation script is valid. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising a computer readable storage medium having program code stored thereon, the program code executable by a processor to perform a method comprising:
-
receiving, by the processor, a first version of an automation script configured to execute in a first framework and expected unit test results for the automation script; automatically creating, by the processor, a second version of the automation script from the first version of the automation script, the second version of the automation script configured to execute in at least a second framework; executing, by the processor, the first version of the automation script in the first framework to run a first version of a unit test and executing the second version of the automation script in the second framework to run a second version of the unit test; comparing, by the processor, at least a first output generated by the first version of the automation script running the first version of the unit test and at least a second output generated by the second version of the automation script running the second version of the unit test to at least one expected unit test result to determine whether the first output and the second output correlate with the expected unit test result; and responsive at least to the first output and the second output correlating with the expected unit test result, determining, by the processor, the second version of the automation script is valid. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification