×

Methods and systems for executing tests using grouped/filtered test classes during testing of an application

  • US 10,261,890 B2
  • Filed: 04/28/2016
  • Issued: 04/16/2019
  • Est. Priority Date: 09/14/2015
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • a user system, comprising;

    an input system configured to receive input parameters specified by a user of the user system, wherein the input parameters comprise;

    one or more regular expressions specified by the user of the user system, wherein each regular expression is a pattern that is used to perform a pattern match to identify a particular group of one or more first test class identifiers associated with that regular expression that each correspond to a test class name of a test class;

    a processing system; and

    a memory configured to store;

    a test class filter module executable by the processing system, wherein the test class filter module, upon being executed by the processing system, is configured to;

    group and filter test class identifiers, based on one or more of the input parameters, to generate a unique test class identifier array of filtered test class identifiers that correspond to a particular subset of tests that are to be executed during testing of an application, wherein the test class filter module comprises;

    a first test class fetcher comprising;

    a regular expression processor configured to receive the regular expressions input by the user of the user system; and

    a query builder configured to;

    generate and send a query associated with each regular expression to an interface, wherein the interface is configured to receive each query, contact a data store and find matching test class names for each regular expression, and return a first test class identifier for each of the matching test class names to the query builder, and wherein the query builder is further configured to receive the first test class identifiers for each of the matching test class names, and group the first test class identifiers corresponding to each of the regular expressions into a first test class identifier array,wherein the test class filter module further comprises;

    a unique class ID filter configured to;

    receive the first test class identifier array and a second test class identifier array; and

    filter the one or more first test class identifiers from the first test class identifier array and second test class identifiers from the second test class identifier array to generate the unique test class identifier array of filtered test class identifiers by;

    combining the first test class identifiers from the first test class identifier array and the second test class identifiers from the second test class identifier array into a combined set of test class identifiers;

    determining duplicate test class identifiers that are in the combined set;

    determining invalid test class identifiers that are in the combined set; and

    eliminating the duplicate test class identifiers and the invalid test class identifiers from the combined set to generate the unique test class identifiers array of filtered test class identifiers that correspond to the particular subset of tests that are to be executed; and

    a cloud-based computing platform, communicatively coupled to the user system, and comprising;

    a test execution engine configured to execute the particular subset of tests corresponding to the filtered test class identifiers specified in the unique test class identifier array.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×