maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cardil <>
Subject [GitHub] maven-surefire pull request: Adding support for externally passed ...
Date Thu, 14 Apr 2016 20:19:12 GMT
GitHub user cardil opened a pull request:

    Adding support for externally passed random seed and printing used seed on console

    It's good practice to execute tests in random order. That ensures tests are atomic and
not depend on each other or some stateful entity. But, if such error occurs, right now, there
is no way to reproduce this exact, erroneous execution.
    This PR adds the ability to reproduce those errors by adding support for externally passed
random seed. If random seed is not passed, it will be generated automatically. Also, random
seed will be printed on console. That's enable it to be achieved by CI server for later.
    This operation is strongly influenced by Ruby's rspec order command line option:
    Showcase of execution:

You can merge this pull request into a Git repository by running:

    $ git pull feature/random-seed-usage

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #112
commit 6caf9b2819d4d7ded9944240af440a5833de579c
Author: Krzysztof SuszyƄski <>
Date:   2016-04-02T17:59:55Z

    Adding Randomizer to RunOrder and DefaultRunOrderCalculator, seed is printed on console


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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message