# US 2026/0093610 A1 · Intelligent automated test case generation method and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0093610 A1
- Document ID: US20260093610A1
- Status: Published application
- Kind: A1
- Application number: 18/904,249
- Filed: 2024-10-02
- Published: 2026-04-02
- Earliest claimed: 2024-10-02
- Assignees: Verizon Patent and Licensing Inc.
- Applicants: Verizon Patent and Licensing Inc.
- Inventors: Pallavi AGGRAWAL; Annu SINGH
- Web page: https://patentgrep.com/patent/US20260093610A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for intelligent automated test case generation are disclosed. In one embodiment, a method is disclosed comprising generating a testing context comprising information identifying at least one difference between first and second code commit versions, generating model input using the testing context, generating a testing script using a trained natural language processing (NLP) model and the model input, and testing the second code commit version using the generated testing script.

## Claims

### Claim 1

A method comprising:
generating, by a computing device, a testing context comprising information identifying at least one difference between first and second code commit versions;
generating, by the computing device, model input using the testing context;
generating, by the computing device, a testing script using a trained natural language processing (NLP) model and the model input; and
testing, by the computing device, the second code commit version using the generated testing script.

### Claim 2 (depends on 1)

The method of claim 1, generating a testing context further comprising:
generating commit message information, file type information and target test case examples information, wherein the testing context used in generating the model input further comprises the generated commit message, file type and target test case examples information.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
extracting the commit message information and the file type information from a Global Information Tracker (GIT) commit command.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
generating the target test case examples using the at least one identified difference between the first and second code commit versions.

### Claim 5 (depends on 1)

The method of claim 1, generating model input further comprising:
tokenizing the model input, wherein the tokenized model input is used by the NLP model in generating the testing script.

### Claim 6 (depends on 5)

The method of claim 5, wherein the tokenizing is performed using a BERT tokenizer, and the trained NLP model is a BERT transformer model.

### Claim 7 (depends on 5)

The method of claim 5, wherein generating a testing script using a trained (NLP model further comprises:
receiving tokenized output; and
de-tokenizing the tokenized output.

### Claim 8 (depends on 1)

The method of claim 1, wherein testing the second code commit version further comprises:
causing the second code commit version to be executed using a testing function and a testing scenario defined by the testing script; and
receiving, from the testing function, result information indicating whether the second code commit version responded correctly given the testing scenario.

### Claim 9 (depends on 8)

The method of claim 8, wherein the testing scenario comprises information indicating a value for at least one variable supplied to the second code commit version via the testing function.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
using a testing framework to perform the causing step, wherein the result information is received via the testing framework.

### Claim 11

A non-transitory computer-readable storage medium tangibly encoded with computer-executable instructions that when executed by a processor associated with a computing device perform a method comprising:
generating a testing context comprising information identifying at least one difference between first and second code commit versions;
generating model input using the testing context;
generating a testing script using a trained natural language processing (NLP) model and the model input; and
testing the second code commit version using the generated testing script.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, generating a testing context further comprising:
generating commit message information, file type information and target test case examples information, wherein the testing context used in generating the model input further comprises the generated commit message, file type and target test case examples information.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, the method further comprising:
extracting the commit message information and the file type information from a Global Information Tracker (GIT) commit command.

### Claim 14 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, the method further comprising:
generating the target test case examples using the at least one identified difference between the first and second code commit versions.

### Claim 15 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, generating model input further comprising:
tokenizing the model input, wherein the tokenized model input is used by the NLP model in generating the testing script.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the tokenizing is performed using a BERT tokenizer, and the trained NLP model is a BERT transformer model.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein generating a testing script using a trained NLP model further comprises:
receiving tokenized output; and
de-tokenizing the tokenized output.

### Claim 18 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein testing the second code commit version further comprises:
causing the second code commit version to be executed using a testing function and a testing scenario defined by the testing script; and
receiving, from the testing function, information indicating whether the second code commit version responded correctly given the testing scenario.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the testing scenario comprises information indicating a value for one or more variables supplied to the second code commit version via the testing function.

### Claim 20

A computing device comprising:
a processor, configured to:
generate a testing context comprising information identifying at least one difference between first and second code commit versions;
generate model input using the testing context;
generating a testing script using a trained natural language processing (NLP) model and the model input; and
test the second code commit version using the generated testing script.
