In complex software projects with numerous constituent files, a minor code change can cause the re-execution of hundreds of tests, many of which are irrelevant to the code change. Test execution can last tens of minutes, creating inefficiencies. This disclosure describes techniques that use individual file dependencies for selecting tests to be run on software under development. Files that directly or indirectly rely on those changed within the code are found. Dependencies between code changes and test targets are analyzed to trim the test list to those tests that are relevant to the changes. As a result, more targeted testing comprising an accurate selection of relevant tests is performed, avoiding the expense and time spent on running irrelevant tests.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.