Skip to content

--shuffle option would be nice to have #187

Description

@yegor256

Currently, all tests are run in exactly the order of their definition in the source file. Good testing practices require tests to be shuffled, in order to avoid their possible interdependencies. How about adding a new command line option --shuffle, with an optional seed number:

shunit2 --shuffle my-tests.sh

With a seed:

shunit2 --shuffle=12345 my-tests.sh

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions