Skip to content

--shuffle option would be nice to have #187

@yegor256

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions