Join GitHub today
Allow rerun of failed tests (only) #1209
When a suite of tests is run some of its tests might fail. Sometimes it is desirable to rerun only the failed tests, skipping the successful ones (for instance to check whether the SUT is actually broken or the tests are flaky or to retest after changing the SUT). Similar functionality exists when running unit tests from an IDE.
This pull requests makes rerunning failed tests in FitNesse easy by generating a suite page referencing the failed tests of a run (RerunLastFailures) after each suite/test. A button linking to this page is added to the test result page (next to the failure navigator). When no tests fail the page is deleted and the button is not shown. When the button is clicked the failed tests are immediately re-executed (it links to /RerunLastFailures?suite).
RerunLastFailures is a normal suite page (with