Patent ID: 9009682
Filing Date: 2015-04-14
Classification: G06F

Abstract:
1. A method performed by one or more computers, the method comprising: identifying a plurality of units of a software application, each of the plurality of units comprising source code; parsing each of the plurality of units to identify one or more annotations that are inserted into the source code of the respective unit, the one or more annotations specifying one or more parameters for executing a unit test for the respective unit; generating a dependency graph for the plurality of units of the software application from dependencies specified in the identified annotations of each unit of the plurality of units of the software application, the dependency graph specifying dependencies between the units of the plurality of units, wherein a specified dependency between a first unit and a second unit of the plurality of units is such that the second unit depends on the first unit, the first and second units comprising one or more executable instructions; determining an initial execution order for the plurality of units from the dependencies specified by the dependency graph; receiving user input indicating an update to the initial execution order to provide an updated execution order for the plurality of units; based on the user input, generating an additional annotation that indicates that the dependency between the first unit and the second unit is altered such that the first unit depends on the second unit, the first unit calling the second unit; inserting the additional annotation into the source code of the first unit; and executing, based on the one or more parameters of the one or more annotations, unit tests for the units according to the execution order, executing a unit test of the second unit before the first unit.