US 12,443,900 B2
Automatic creation and execution of a test harness for workflows
Michael Johnston, Dublin (IE); and Vasileios Vasileiadis, Dublin (IE)
Assigned to International Business Machines Corporation, Armonk, NY (US)
Filed by INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed on Dec. 30, 2020, as Appl. No. 17/138,843.
Prior Publication US 2022/0207438 A1, Jun. 30, 2022
Int. Cl. G06Q 10/06 (2023.01); G06F 8/65 (2018.01); G06F 11/36 (2025.01); G06F 11/3668 (2025.01); G06Q 10/10 (2023.01)
CPC G06Q 10/06 (2013.01) [G06F 8/65 (2013.01); G06F 11/3684 (2013.01); G06Q 10/10 (2013.01)] 26 Claims
OG exemplary drawing
 
1. A computer implemented method, comprising:
automatically creating and executing a test harness for an existing software program workflow, the creating and executing comprising:
receiving the exiting software program workflow, wherein the existing software program workflow comprises software components;
automatically creating, by a computing device, a workflow package of a direct acyclic graph (DAG), including a version identification and a workflow graph definition based on the existing workflow;
creating a workflow instance based on the workflow package;
executing the workflow instance on the computing device to generate output data;
saving the workflow instance with the generated output data as a test archive, wherien the generated output data is used as a baseline for an output comparison test;
augmenting a file structure of the workflow instance, by the test archive, by inserting an input data and the generated output data used as a baseline for the output comparison test, and at least one rule, on one or more tests to be executed on one or more software components in an updated workflow package; and
testing the one or more softwaqre components of the updated workflow package with the test archive by performing the output comparison test; and
output an indication of pass or fail of the testing of the updated workflow package based on the testing.