×

Generation of test cases for functional testing of applications

  • US 8,683,446 B2
  • Filed: 07/09/2007
  • Issued: 03/25/2014
  • Est. Priority Date: 07/09/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method for generating a testing procedure for an implementation of a function, comprising:

  • obtaining automatically a model of an application that has been implemented, the model including at least a description of input, output, and one or more state transitions of a function in the application, said application model being an input-output-precondition-effect (IOPE) model of a web service;

    refining one or more preconditions of the model based on a fault model that represents one or more ways the application can fail;

    generating a testing goal from the model, the testing goal including at least a state condition and a testing function and the one or more of the preconditions refined based on the fault model, wherein the testing goal is generated for each precondition-effect pair in the OIPE model;

    wherein the IOPE model is constructed as syntactic ensemble comprising input and output constraints pair for a target operation, using a template having corresponding placeholders that are to be replaced by actual values from an operation under test, and as a pair-set of precondition and effect for said operation, the pair-set defined in part as the testing goal,the fault model used as a leverage for redefining the testing goal and corresponding to the IOPE constraints, the fault model comprising one or more of boundary values for input parameters, cardinality constraints enforcing a threshold that is to be observed, and fault sensitization serving a behavioral basis for the testing goal;

    generating a sequence of one or more actions based on the testing goal, the one or more actions at least transforming a computer system'"'"'s state running the application to meet the one or more preconditions;

    generating one or more expected output and a system end state associated with applying the sequence of one or more actions; and

    generating a sequence of one or more verification actions based on said one or more expected output and the system end state,wherein the sequence of one or more actions and the sequence of one or more verification actions are invoked to test the application, andwherein a functional test case generation is fully automated for the application.

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