×

Method and system for generating functional test cases for software systems

  • US 10,176,085 B2
  • Filed: 06/22/2016
  • Issued: 01/08/2019
  • Est. Priority Date: 06/24/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for generating functional test cases for testing a software system, the method comprising a processor implemented steps of:

  • providing expressive decision table (EDT) specifications, wherein the EDT specifications specify requirements of the software system;

    constructing automata using an automata builder (102), wherein the automata correspond to each of a plurality of cells in a plurality of rows present in the EDT specifications;

    generating an input sequence by selecting a random sequence of rows from the EDT specifications using an input sequence generation module (104), wherein the input sequence generation further involves giving priority to unmatched rows out of the plurality of rows of the EDT specifications;

    passing the input sequence to an expected output generation module (106), wherein the expected output generation module (106) executes each of the automaton out of the automata, corresponding to each of the cells of the EDT and determines the rows out of the plurality of rows that matches the input sequence to generate an expected output sequence; and

    providing the expected output sequence to a final output generation module (110) to generate the functional test cases if a predefined set of conditions are satisfied, wherein the predefined set of conditions comprises,at least one of a row or a row-interaction is covered by the functional test cases and the functional test cases do not involve an invalid test scenario.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×