×

Automatic test case generation

  • US 9,767,008 B2
  • Filed: 03/10/2015
  • Issued: 09/19/2017
  • Est. Priority Date: 03/05/2014
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method of generating one or more test cases for a service of a server system comprising:

  • analyzing, by the server system, metadata associated with the service to automatically generate, by the server system, a schema definition for inputs and outputs of the service, the metadata including an input schema of Extract, Transform, Load (ETL) job metadata produced by a first Extract, Transform, Load (ETL) application and an output schema of Extract, Transform, Load (ETL) job metadata produced by a second Extract, Transform, Load (ETL) application;

    generating a description of the service in an application description language that refers to the schema definition; and

    processing the generated description of the service to produce the one or more test cases for the service, wherein processing the generated description comprises;

    identifying a process from among a plurality of processes of the service within the generated description, wherein a data restriction specifies acceptable data for an input parameter and an output of the process; and

    generating one or more test cases for the process based on the data restriction to determine compliance of the process with the data restriction, the one or more test cases including a test case for at least one test selected from a group of tests consisting of a string length test and a numeric range test, wherein;

    the string length test is configured to set a character string input parameter with data having a character length in excess of a restricted length, andthe numeric range test is configured to set a numeric input parameter with a value outside of a prescribed range.

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