Patent ID: 9672029
Date: 2017-06-06
CPC Classifications: G06F

Claim:
1. A method of determining a priority of a test case based on one or more priority tags encountered in a path in a software application executed by the test case, wherein a test suite includes the test case, the method comprising: running a test case to execute the software application, the software application including executable code compiled from source code, the source code including priority tags that are retrievable from the executable code; determining a test case result that reflects whether the test case passed or failed based on the running of the test case; determining a test case priority based on a set of one or more priority tags retrieved from the executable code and encountered along the path in the software application that is executed while running the test case, wherein at least one priority tag in the set includes a use case identifier that is used in determining the test case priority, wherein the test case priority is determined based on use case identifiers encountered in the priority tags during execution of the test case by reading the set of one or more priority tags to determine corresponding use case identifiers; performing look up operations on a use case priority database that maps use case identifiers encountered during execution to use case priorities; calculating the test case priority based on the use case priorities; reporting the test case priority and the test case result; and modifying the test suite to change the order in which the test case is run based on the determined test case priority.