-
公开(公告)号:US10474562B2
公开(公告)日:2019-11-12
申请号:US15710127
申请日:2017-09-20
Applicant: salesforce.com, inc.
Inventor: J. Justin Donaldson , Benjamin Busjaeger , Siddharth Rajaram , Berk Coker , Hormoz Tarevern
Abstract: An online system ranks test cases run in connection with check-in of sets of software files in a software repository. The online system ranks the test cases higher if they are more likely to fail as a result of defects in the set of files being checked in. Accordingly, the online system informs software developers of potential defects in the files being checked in early without having to run the complete suite of test cases. The online system determines a vector representation of the files and test cases based on a neural network. The online system determines an aggregate vector representation of the set of files. The online system determines a measure of similarity between the test cases and the aggregate vector representation of the set of files. The online system ranks the test cases based on the measures of similarity of the test cases.