You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce create two simple tests that depend on a variable x and assert different values of x with one of the test changing x. Adding println to see the order of the tests would also help.
Running something like the following will always see the tests pass or fail as the order is always the same. rm -rf .dtfixingtools/; mkdir .dtfixingtools/; cp original-order .dtfixingtools/original-order; mvn testrunner:testplugin -Ddetector.detector_type=random-class-method -Ddt.randomize.rounds=5 -Ddt.detector.original_order.all_must_pass=false
The text was updated successfully, but these errors were encountered:
testrunner appears unable to control the order of methods within a class for JUnit 3 tests.
The order of test classes for JUnit 3 tests is able to be controlled but the method order within a class is not controlled.
The same problem is in our custom Maven surefire plugin.
https://github.com/TestingResearchIllinois/maven-surefire/tree/test-method-sorting
To reproduce create two simple tests that depend on a variable x and assert different values of x with one of the test changing x. Adding println to see the order of the tests would also help.
Running something like the following will always see the tests pass or fail as the order is always the same.
rm -rf .dtfixingtools/; mkdir .dtfixingtools/; cp original-order .dtfixingtools/original-order; mvn testrunner:testplugin -Ddetector.detector_type=random-class-method -Ddt.randomize.rounds=5 -Ddt.detector.original_order.all_must_pass=false
The text was updated successfully, but these errors were encountered: