This repository has been archived by the owner. It is now read-only.

Allow specifying eunit suite run order in 'suites' #24

Merged
merged 1 commit into from Jun 16, 2013

Conversation

Projects
None yet
2 participants
@legoscia
Contributor

legoscia commented Nov 20, 2012

Normally, Rebar runs eunit tests in the order the beam files are stored in the file system (see rebar_utils:beams). However, sometimes it is desirable to run the tests in a different order (e.g. to reproduce an error found on a build server). For that case, it would make sense to use the suites parameter not just for selecting which modules to consider, but also for choosing the order.

Run eunit suites in the order specified in the 'suites' command line …
…parameter

Normally, Rebar runs eunit tests in the order the beam files are
stored in the file system (see rebar_utils:beams).  However, sometimes
it is desirable to run the tests in a different order (e.g. to
reproduce an error found on a build server).  For that case, it would
make sense to use the 'suites' parameter not just for selecting which
modules to consider, but also for choosing the order.

dizzyd added a commit that referenced this pull request Jun 16, 2013

Merge pull request #24 from legoscia/master
Allow specifying eunit suite run order in 'suites'

@dizzyd dizzyd merged commit 76405da into rebar:master Jun 16, 2013

1 check passed

default The Travis build passed
Details
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.