GENERATING TEST CASES FOR FUNCTIONAL TESTING OF A SOFTWARE APPLICATION
First Claim
1. A method of generating test cases for functional testing of a software application, said method comprising:
- maintaining a plurality of rules, each rule specifying a corresponding one of a plurality of patterns in a natural language and a corresponding template, wherein each of said plurality of patterns comprises a corresponding set of variables and corresponding words of the natural language together in an ordered sequence, wherein each template indicates a corresponding set of test cases;
receiving a design document containing a plurality of statements, each statement containing words of said natural language;
determining a first statement of said plurality of statements matching a first pattern specified in a first rule of said plurality of rules, wherein a match is deemed to exist if the words in the first pattern exist in the first statement in the same corresponding positions of said ordered sequence, and if said first statement also contains values for each of said corresponding set of variables specified in said first pattern; and
generating a set of test cases indicated by a first template specified in said first rule based on the values for each of said corresponding set of variables.
1 Assignment
0 Petitions
Accused Products
Abstract
An aspect of the present invention generates test cases for functional testing of a software application. In one embodiment, rules specifying corresponding patterns in a natural language and corresponding templates are maintained. Each pattern contains corresponding variables and words of the natural language together in an ordered sequence. On receiving a design document containing statements in the natural language, a first statement is determined to match a first pattern specified in a first rule. A match is deemed to exist only if the words in the first pattern exist in the first statement in the same corresponding positions of the ordered sequence, and if the first statement also contains values for each of the variables specified in the first pattern. A set of test cases is generated based on a first template specified in the first rule and the values for each of the variables.
-
Citations
18 Claims
-
1. A method of generating test cases for functional testing of a software application, said method comprising:
-
maintaining a plurality of rules, each rule specifying a corresponding one of a plurality of patterns in a natural language and a corresponding template, wherein each of said plurality of patterns comprises a corresponding set of variables and corresponding words of the natural language together in an ordered sequence, wherein each template indicates a corresponding set of test cases; receiving a design document containing a plurality of statements, each statement containing words of said natural language; determining a first statement of said plurality of statements matching a first pattern specified in a first rule of said plurality of rules, wherein a match is deemed to exist if the words in the first pattern exist in the first statement in the same corresponding positions of said ordered sequence, and if said first statement also contains values for each of said corresponding set of variables specified in said first pattern; and generating a set of test cases indicated by a first template specified in said first rule based on the values for each of said corresponding set of variables. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A machine readable medium storing one or more sequences of instructions for causing a system to generate test cases for functional testing of a software application, wherein execution of said one or more sequences of instructions by said one or more processors contained in said system causes said system to perform the actions of:
-
maintaining a plurality of rules, each rule specifying a corresponding one of a plurality of patterns in a natural language and a corresponding template, wherein each of said plurality of patterns comprises a corresponding set of variables and corresponding words of the natural language together in an ordered sequence, wherein each template indicates a corresponding set of test cases; receiving a design document containing a plurality of statements, each statement containing words of said natural language; determining a first statement of said plurality of statements matching a first pattern specified in a first rule of said plurality of rules, wherein a match is deemed to exist if the words in the first pattern exist in the first statement in the same corresponding positions of said ordered sequence, and if said first statement also contains values for each of said corresponding set of variables specified in said first pattern; and generating a set of test cases indicated by a first template specified in said first rule based on the values for each of said corresponding set of variables. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A digital processing system comprising:
-
a processor; a random access memory (RAM); a machine readable medium to store one or more instructions, which when retrieved into said RAM and executed by said processor causes said digital processing system to generate test cases for functional testing of a software application, said digital processing system performing the actions of; maintaining a plurality of rules, each rule specifying a corresponding one of a plurality of patterns in a natural language and a corresponding template, wherein each of said plurality of patterns comprises a corresponding set of variables and corresponding words of the natural language together in an ordered sequence, wherein each template indicates a corresponding set of test cases; receiving a design document containing a plurality of statements, each statement containing words of said natural language; determining a first statement of said plurality of statements matching a first pattern specified in a first rule of said plurality of rules, wherein a match is deemed to exist if the words in the first pattern exist in the first statement in the same corresponding positions of said ordered sequence, and if said first statement also contains values for each of said corresponding set of variables specified in said first pattern; and generating a set of test cases indicated by a first template specified in said first rule based on the values for each of said corresponding set of variables. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification