Option to only repeat failed tests#1965
Closed
PieterDC wants to merge 22 commits intosebastianbergmann:4.8from
Closed
Option to only repeat failed tests#1965PieterDC wants to merge 22 commits intosebastianbergmann:4.8from
PieterDC wants to merge 22 commits intosebastianbergmann:4.8from
Conversation
… once so the result shows more logically.
…ng repeat count at 1."
# Conflicts: # src/Extensions/RepeatedTest.php # src/TextUI/Command.php
Owner
|
Author
|
I know @sebastianbergmann but:
I'm not that familiar with GitHub issue queues... |
This was referenced Jul 19, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening new ticket because #1708 'A --only-repeat-failed PHPUnit argument' got closed due to issue queue cleanup by the maintainer. And work on the WIP code has advanced since.
Similar to what @giorgiosironi suggested in #46 'Implement "previous failures first" mode' but not dependent on any log file.
Inspired by #1022 'Automatically rerun failed tests to test for "flaky" tests' I wrote code that builds upon the already existing '--repeat' argument and allows you to run a test like:
This will cause all tests in 'tests/Kanooh/Paddle/Core/' to run 3 times, except for the tests that succeeded in the first run already. The remaining runs will be marked as skipped.