UT-SE-Research / iDFlakies

29 stars 33 forks source link

Sort original order tests from locateTests #60

Closed august782 closed 1 year ago

august782 commented 1 year ago

This pull request implements sorting of the tests obtained from parsing the test code from the underlying project, when the original order is not provided or it is not configured to parse out the tests from surefire reports and the output of a previous test run. This pull request also addresses some tab/space formatting issues in the surrounding code. This pull request aims to address part of the concerns reported in Issue #51

Note that if you want a deterministic experience with iDFlakies and how it orders tests starting from this original order, it is still recommended to provide the original-order file (iDFlakies will use the order of tests in this file), or to provide the mvn-test.log + surefire reports from a previous test run so it can parse out which order was used then.