IP Library › Granted Patent US 9,910,941
Granted Patent B2
US 9,910,941 · App. 15/382,984 · Granted Mar 6, 2018

Test case generation

Inventors: Manoj Dusanapudi (Bangalore, IN); Madhusudan Kadiyala (Bangalore, IN); John Paul (Bangalore, IN)
Assignee: International Business Machines Corporation
G06F17/5009G06F17/30345G06N99/005
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,910,941
App. No.
15/382,984
Granted
Mar 6, 2018
Kind
B2
Abstract

Embodiments of the present invention provide methods, computer program products, and systems for generating comprehensive test cases covering new events yet to be covered. Embodiments of the present invention can be used to receive a request to generate a test case, wherein the request comprises a coverage schema associated with a first set of events to be covered in the generated test case. Embodiments of the present invention includes updating the coverage schema, wherein the updating the coverage schema comprises adding a second set of events to be covered in the generated test case and generating constraints used to satisfy requirements for meeting the first set of events and the second set of events in the updated coverage schema. Embodiments of the present invention can generate a test case using the generated constraints and the updated coverage schema.

Claims (14)

1. A computer system comprising:

one or more computer processors;

one or more non-transitory computer readable storage media; and

program instructions stored on the one or more non-transitory computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising:

program instructions to receive a first request to generate a first test case, wherein the first request comprises a coverage schema associated with a first set of events to be covered in the generated first test case;

program instructions to update the coverage schema, wherein the program instructions to update the coverage schema comprise program instructions to add a second set of events to be covered in the generated first test case, wherein the second set of events is determined using machine learning techniques or by performing one of a union operation, an intersection operation, or a cross-product operation between at least two events of the first set of events;

program instructions to generate constraints used to satisfy requirements for meeting the first set of events and the second set of events in the updated coverage schema;

program instructions to, responsive to generating constraints used to satisfy requirements for meeting the first set of events and the second set of events in the updated coverage schema, add the generated constraints to a constraint library;

program instructions to generate the first test case using the generated constraints and the updated coverage schema;

program instructions to perform a test simulation to identify a passing test case;

program instructions to, responsive performing a test simulation to identify a passing test case, update a coverage database to reflect the identified passing test case;

program instructions to receive a second request to generate a second test case, wherein the second request comprises a coverage schema associated with a third set of events to be covered in the generated second test case;

program instructions to update the coverage schema, wherein the program instructions to update the coverage schema comprise program instructions to add a fourth set of events to be covered in the generated second test case, wherein the fourth set of events is determined using machine learning techniques or by performing one of a union operation, an intersection operation, or a cross-product operation between at least two events of the third set of events; and

program instructions to, responsive to a failure obtained in executing the program instructions to generate constraints, transmit a notification to the constraint library to generate constraints for the second test case using machine learning techniques.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 19, 2016
From: DUSANAPUDI, MANOJ; KADIYALA, MADHUSUDAN; PAUL, JOHN
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 040665/0481 →
Continuity (4)
Continuation 15234603 · Aug 11, 2016
Continuation 15010799 · Jan 29, 2016
Continuation 14971300 · Dec 16, 2015
Related Publication 20170177765A1 · Jun 22, 2017