Patent attributes
Various methods, apparatuses/systems, and media for implementing a test optimization module are provided. A processor utilizes a static analysis technique which analyzes an application's byte code to determine what files and line-numbers have been changed in a source code based on comparing successive versions of the application. The processor creates a change dependency graph (CDG) based on a change scope and analyzed bytecode, traverses the CDG to generate a list of test cases among a plurality of test cases, accessed from a test repository, that are directly and/or indirectly related to the modification to the source code, and automatically executes only the test cases selected from the generated list to test the latest version of the application.