Automated test case generation for applications
First Claim
1. A system comprising:
- one or more processors;
one or more computer-readable media coupled to the one or more processors;
an analysis module maintained on the one or more computer-readable media and executed on the one or more processors to;
receive, for an application to be tested, an application binary file from an electronic device;
perform one or more static analysis operations on the application binary file to determine one or more application parameters, wherein the application parameters represent one or more features that are supported or used by the application, wherein the one or more features include at least one of a camera feature, a microphone feature, a maps feature, an accelerometer feature, a performance feature, or an in-application purchase feature;
determine one or more keywords that are associated with individual application parameters of the one or more application parameters; and
determine one or more test cases based on the one or more keywords; and
a test module maintained on the one or more computer-readable media and executed on the one or more processors to;
receive the one or more test cases;
generate a test plan based on the one or more test cases;
execute at least a portion of the test plan;
generate a test report that includes (i) a list of test cases that failed during execution and (ii) one or more potential solutions associated with individual test cases that failed; and
send the test report to the electronic device.
2 Assignments
0 Petitions
Accused Products
Abstract
Some implementations include receiving an application binary file for an application to be tested. One or more static analysis operations may be performed on the application binary file to identify application parameters. In some cases, keywords may be associated with individual application parameters, and the keywords may be used to query a test case repository in order to identify test cases. The identified test cases may be used to generate a test plan, and at least a portion of the test plan may be automatically executed in some cases. A test report may be generated that includes a list of test case failures and potential solutions, and the test report may be sent e.g., to a third-party developer or an approval engineer for review.
-
Citations
20 Claims
-
1. A system comprising:
-
one or more processors; one or more computer-readable media coupled to the one or more processors; an analysis module maintained on the one or more computer-readable media and executed on the one or more processors to; receive, for an application to be tested, an application binary file from an electronic device; perform one or more static analysis operations on the application binary file to determine one or more application parameters, wherein the application parameters represent one or more features that are supported or used by the application, wherein the one or more features include at least one of a camera feature, a microphone feature, a maps feature, an accelerometer feature, a performance feature, or an in-application purchase feature; determine one or more keywords that are associated with individual application parameters of the one or more application parameters; and determine one or more test cases based on the one or more keywords; and a test module maintained on the one or more computer-readable media and executed on the one or more processors to; receive the one or more test cases; generate a test plan based on the one or more test cases; execute at least a portion of the test plan; generate a test report that includes (i) a list of test cases that failed during execution and (ii) one or more potential solutions associated with individual test cases that failed; and send the test report to the electronic device. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method comprising:
-
under control of one or more processors, receiving, for an application to be tested, an application binary file from an electronic device; performing one or more static analysis operations on the application binary file to determine one or more application parameters; determining one or more keywords that are associated with individual application parameters of the one or more application parameters; determining one or more test cases based on the one or more keywords; and generating a test plan based on the one or more test cases. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. One or more non-transitory computer-readable media maintaining instructions executable by one or more processors to perform operations comprising:
-
receiving, for an application to be tested, an application binary file; performing one or more static analysis operations on the application binary file to determine one or more application parameters; determining one or more keywords that are associated with individual application parameters of the one or more application parameters; querying a test case repository to identify one or more test cases that are associated with the one or more keywords; executing, without user input, at least one test case of the one or more test cases; and generating a test report that includes results associated with execution of the at least one test case. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification