System for generating test scenarios and test conditions and expected results
First Claim
1. A method for generating test artifacts for a requirements sentence, the method comprising:
- receiving, by a processor, data that defines a first document;
searching, by the processor, the data to identify data sections that define a requirements sentence;
in response to identifying a requirements sentence,storing, by the processor, the data sections that define the requirements sentence to a memory in communication with the processor;
generating, a link grammar parser of a natural language processor, one or more links between pairs of words in the requirements sentence, wherein the link grammar parser labels the one or more links as linking pairs of words corresponding to at least one of;
words that correspond to a subject, words that correspond to a noun phrase, and words that correspond to a verb phrase;
submitting the requirements sentence to a scenario generation module to obtain a test scenario for the requirements sentence, wherein determination of the test scenario is based at least in part on the one or more links generated between pairs of words in the requirement sentence;
submitting the requirements sentence to test condition logic executed by a processor to obtain a test condition and expected result based on the requirements sentence; and
generating a report containing the test scenario, test condition, and expected result.
1 Assignment
0 Petitions
Accused Products
Abstract
A requirements testing system facilitates the review and analysis of requirement statements for software applications. The requirements testing system automatically generates test artifacts from the requirement statements, including test scenarios, test conditions, test hints, and expected results. These test artifacts characterize the requirements statements to provide valuable analysis information that aids understanding what the intentions of the requirement statements are. The automation of the generation of these test artifacts produces numerous benefits, including fewer errors, objectivity, and no dependency on the skills and experience of a creator.
27 Citations
20 Claims
-
1. A method for generating test artifacts for a requirements sentence, the method comprising:
-
receiving, by a processor, data that defines a first document; searching, by the processor, the data to identify data sections that define a requirements sentence; in response to identifying a requirements sentence, storing, by the processor, the data sections that define the requirements sentence to a memory in communication with the processor; generating, a link grammar parser of a natural language processor, one or more links between pairs of words in the requirements sentence, wherein the link grammar parser labels the one or more links as linking pairs of words corresponding to at least one of;
words that correspond to a subject, words that correspond to a noun phrase, and words that correspond to a verb phrase;submitting the requirements sentence to a scenario generation module to obtain a test scenario for the requirements sentence, wherein determination of the test scenario is based at least in part on the one or more links generated between pairs of words in the requirement sentence; submitting the requirements sentence to test condition logic executed by a processor to obtain a test condition and expected result based on the requirements sentence; and generating a report containing the test scenario, test condition, and expected result. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for generating a test condition and expected result for a requirements sentence, the method comprising:
-
receiving, by a processor, data that defines a first document; searching, by the processor, the data to identify data sections that define a requirements sentence; in response to identifying a requirements sentence, storing, by the processor, the data sections that define the requirements sentence to a memory in communication with the processor; generating, by a link grammar parser of a natural language processor, one or more links between pairs of words in the requirements sentence, wherein the link grammar parser labels the one or more links as linking pairs of words corresponding to at least one of;
words that correspond to a subject, words that correspond to a noun phrase, and words that correspond to a verb phrase;identifying, with analysis logic executed by a processor, a test intent for the requirements sentence based at least one part on the one or more links generated by the link grammar parser; arranging, with test condition logic executed by a processor, the test intent into a positive test condition and positive expected result. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A requirements sentence testing system comprising:
-
a natural language processor that includes a grammatical parser logic configured to generate one or more links between pairs of words in a requirements sentence, wherein the link grammar parser labels the one or more links as linking pairs of words corresponding to at least one of;
words that correspond to a subject, words that correspond to a noun phrase, and words that correspond to a verb phrase;a second processor; a memory in communication with the second processor that includes instruction code for causing the second processor to obtain a requirements sentence and store the requirements sentence in the memory; communicate the requirements sentence to the grammatical parser logic to obtain a parsed requirements sentence; identify a test intent for the requirements sentence using the parsed requirement statement; and
test condition logic operable to, when executed by the processor;obtain the test intent from the analysis logic; and arrange the test intent into a positive test condition and positive expected result. - View Dependent Claims (18, 19, 20)
-
Specification