×

Software and framework for reusable automated testing of computer software systems

  • US 9,069,901 B2
  • Filed: 10/21/2010
  • Issued: 06/30/2015
  • Est. Priority Date: 08/19/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method of reusing automated test procedures in a computer processing system, the method comprising:

  • obtaining a plurality of available automated test procedures by calling a static method on a TestCase object to obtain a plurality of methods for testing, the available automated test procedures comprising existing tests that may be applicable to new features or new configurations;

    obtaining a plurality of test options to be tested, each option of the plurality of test options comprising option data including an option value; and

    for each combination of a current option of the plurality of test options and a current procedure of the plurality of available automated test procedures;

    obtaining, by a test suite generator, an annotation for the current procedure, the annotation defining test options or other conditions for which the current procedure is applicable, wherein the annotation does not affect operation of the current procedure;

    evaluating, by the test suite generator, the annotation with respect to the option data corresponding to the current option to determine whether the current procedure is applicable for the current option; and

    if the current procedure is applicable for the current option;

    generating a test specification corresponding to the combination of the current option and the current procedure, the test specification comprising the option data corresponding to the current option and procedure data corresponding to the current procedure;

    adding the test specification corresponding to the combination of the current option and the current procedure to a suite of test specifications to be executed, wherein execution of the test specification results in the procedure data corresponding to the current procedure being executed with respect to the option value of the current option, whereingenerating the test specification comprises;



    creating an instance of the TestCase object corresponding to the current procedure; and



    mapping the instance of the TestCase object to the option data and the current procedure data; and

    execution of the test specification comprises;



    setting a current test option of the instance of the TestCase object to the option value; and



    executing the current procedure implemented by the TestCase object.

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