System and method for automatic test-case generation for software
First Claim
Patent Images
1. A method for generating test cases for software comprising:
- simulating software from an initial input state to a subsequent input state (output) by automatically processing input values to output values; and
generating a test to determine whether the subsequent input state (output) conforms to a predetermined criteria.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for generating test cases for software and a test case generator comprising a simulator that drives software under test from one input state to the next. The simulator is constrained by predetermined criteria to visit states that meet the criteria thus preserving computer resources. The states reached by the simulator are tested.
55 Citations
32 Claims
-
1. A method for generating test cases for software comprising:
-
simulating software from an initial input state to a subsequent input state (output) by automatically processing input values to output values; and
generating a test to determine whether the subsequent input state (output) conforms to a predetermined criteria. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method for automating test case generation for software comprising:
-
simulating software;
automatically constructing internal data structures for storing states of the software reached during simulation;
initializing a counter to track coverage information;
assembling data type information for the software states;
constraints for the software states;
loading test data;
testing the software states using the simulator; and
computing coverage information for the test data. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
-
29. An automated software test case generator comprising:
-
a simulator for automatically simulating software from an initial state to a subsequent input (output) state; and
a test case generator that constructs tests consisting of a sequence of input/output pairs generated by the software simulation which outputs match those stored in a test. - View Dependent Claims (30, 31, 32)
-
Specification