Patent ID: 11874762
Assignee: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A method comprising:
detecting a code change to source code included in a code repository;
identifying, using a machine learning (ML) algorithm and based on a code-to-feature mapping, a relationship between the code change to the source code and an associated product feature, wherein the code-to-feature mapping includes a dependency tree that relates source code, source code folders, product features, and product components, and wherein the ML algorithm identifies the relationship between the code change to the source code and the associated product feature based on a knowledge base including information from prior testing;
determining, based on the associated product feature, one or more dependent product features impacted by the code change to the source code;
selecting, based on the associated product feature and the one or more dependent product features, a set of test cases including a subset of test cases related to the associated product feature and a subset of test cases related to the one or more dependent product features;
executing the set of test cases; and
updating, using the ML algorithm, the code-to-feature mapping using results of executing the set of test cases.