UT-SE-Research / iDFlakies

29 stars 33 forks source link

modify DetectorUtil to handle the failing tests in original order #1

Closed frankyhao closed 4 years ago

frankyhao commented 5 years ago

DetectorUtil.java inside /src/main/java/edu/illinois/cs/dt/tools/detection/ is modified. It creates a hashmap to store the times of failing for each test in the original order. The tests that consistently fail will be recorded in an ArrayList and removed one by one or all together based on configuration. The NOD tests found during running will also be recorded in a separate ArrayList. There is a demo project that contains a consistently pass test, a consistently fail test and a NOD test that fails 1/3 times. Detailed instruction is provided inside its repository.