Hi,

You sure created a big patch! I am sure there is more than one way to solve
this problem. Enhancing the plugin is one way, but is that really the right
way to universalize the functionality? I don't know. Maybe others will
agree with you. My first thoughts would be that the external process that
called Maven should read the test report (XML) and determine whether to
re-run.

Paul


Cheers,
Paul


On Tue, Jun 24, 2014 at 3:48 PM, qingzhouluo <g...@git.apache.org> wrote:

> GitHub user qingzhouluo opened a pull request:
>
>     https://github.com/apache/maven-surefire/pull/40
>
>     Add rerunFailingTests option for maven surefire to rerun failing tests
> i...
>
>     Add rerunFailingTests option for maven surefire to rerun failing tests
> immediately after they fail. Each single test method now maintains a list
> of its runs. DefaultReporterFactory now contains a few maps between test
> and the list of all its runs. If a test passes in any of its reruns, the
> build will be marked as successful and the test will count as flake.
>
> You can merge this pull request into a Git repository by running:
>
>     $ git pull https://github.com/qingzhouluo/maven-surefire master
>
> Alternatively you can review and apply these changes as the patch at:
>
>     https://github.com/apache/maven-surefire/pull/40.patch
>
> To close this pull request, make a commit to your master/trunk branch
> with (at least) the following in the commit message:
>
>     This closes #40
>
> ----
> commit 37b711b4bc244b9947b6ee9d37b1163eb8217262
> Author: Qingzhou Luo <qingzhou...@google.com>
> Date:   2014-06-24T20:44:44Z
>
>     Add rerunFailingTests option for maven surefire to rerun failing tests
> immediately after they fail. Each single test method now maintains a list
> of its runs. DefaultReporterFactory now contains a few maps between test
> and the list of all its runs. If a test passes in any of its reruns, the
> build will be marked as successful and the test will count as flake.
>
> ----
>
>
> ---
> If your project is set up for it, you can reply to this email and have your
> reply appear on GitHub as well. If your project does not have this feature
> enabled and wishes so, or if the feature is enabled but not working, please
> contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
> with INFRA.
> ---
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to