Workflow impact analysis
AssigneeInternational Business Machines Corporation
InventorsZhi Li Guan, Peng Hui Jiang, Jun Su, Kun Yang
Life of this patent
Estimating the term…
Abstract
An embodiment monitors a code repository for changes made to source code. The embodiment detects a change made to the source code, and upon detecting the change made to the source code, identifies a potentially impacted workflow node of a workflow based on the change made to the source code. The embodiment identifies an execution tree of the workflow that contains the potentially impacted workflow node. The embodiment identifies a set of test cases corresponding to the execution tree. The embodiment generates a test case recommendation based on the set of test cases identified. The embodiment transmits the test case recommendation to a user device.
Claims13
A computer-implemented method comprising:
- simulating a workflow in a sandbox virtual environment to generate execution data and extracting a plurality of execution trees from the execution data, the simulating comprising applying a plurality of access control lists (ACLs) to the workflow to generate different execution paths of the workflow;
- establishing a mapping that defines relationships between the plurality of execution trees and a plurality of sets of corresponding test cases;
- detecting one or more blind spots by identifying a node of one or more of the plurality of execution trees that corresponds to an insufficient number of test cases;
- monitoring a code repository for changes made to source code;
- detecting a change made to the source code;
- upon detecting the change made to the source code, identifying a potentially impacted workflow node of a workflow based on the change made to the source code;
- identifying an execution tree of the workflow that contains the potentially impacted workflow node;
- identifying a set of test cases corresponding to the execution tree;
- generating a test case recommendation based on the set of test cases identified;
- transmitting the test case recommendation to a user device;
- and
- automatically executing the set of test cases identified.
A computer program product for impact analysis comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by a processor to cause the processor to perform operations comprising:
- simulating a workflow in a sandbox virtual environment to generate execution data and extracting a plurality of execution trees from the execution data, the simulating comprising applying a plurality of access control lists (ACLs) to the workflow to generate different execution paths of the workflow;
- establishing a mapping that defines relationships between the plurality of execution trees and a plurality of sets of corresponding test cases;
- detecting one or more blind spots by identifying a node of one or more of the plurality of execution trees that corresponds to an insufficient number of test cases;
- monitoring a code repository for changes made to source code;
- detecting a change made to the source code;
- upon detecting the change made to the source code, identifying a potentially impacted workflow node of a workflow based on the change made to the source code;
- identifying an execution tree of the workflow that contains the potentially impacted workflow node;
- identifying a set of test cases corresponding to the execution tree;
- generating a test case recommendation based on the set of test cases identified;
- transmitting the test case recommendation to a user device;
- and
- automatically executing the set of test cases identified.
A computer system comprising a processor and one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions executable by the processor to cause the processor to perform operations comprising:
- simulating a workflow in a sandbox virtual environment to generate execution data and extracting a plurality of execution trees from the execution data, the simulating comprising applying a plurality of access control lists (ACLs) to the workflow to generate different execution paths of the workflow;
- establishing a mapping that defines relationships between the plurality of execution trees and a plurality of sets of corresponding test cases;
- detecting one or more blind spots by identifying a node of one or more of the plurality of execution trees that corresponds to an insufficient number of test cases;
- monitoring a code repository for changes made to source code;
- detecting a change made to the source code;
- upon detecting the change made to the source code, identifying a potentially impacted workflow node of a workflow based on the change made to the source code;
- identifying an execution tree of the workflow that contains the potentially impacted workflow node;
- identifying a set of test cases corresponding to the execution tree;
- generating a test case recommendation based on the set of test cases identified;
- transmitting the test case recommendation to a user device;
- and
- automatically executing the set of test cases identified.
Dependencies are inferred from the claim text.