summaryrefslogtreecommitdiff
path: root/src/rebar_prv_eunit.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-11-23 13:52:38 -0500
committerFred Hebert <mononcqc@ferd.ca>2017-11-24 14:59:31 -0500
commit32ae99650110637d479bb0db64dc1e6583d7b094 (patch)
tree00d3bfc0a7c2e69331f8786d58d2f040b22d2076 /src/rebar_prv_eunit.erl
parentefeaa91f0b9a53909b0258f078f22bac7c4f5507 (diff)
Add experimental support for ct --retry option
This commit adds a common test hook along with the cth_readable stuff whose role is to track failing test cases, and create a test specification out of them. The test specification is dumped on disk at _build/<profile>/logs/retry.spec and can be accessed by calling 'rebar3 ct --retry'. This will auto-load the spec file if it can be found and re-run the failing cases. If any other argument is found on the list specifying tests, the '--retry' argument is ignored. All code for this is marked as experimental in case we end up (keeping and then) dropping the feature.
Diffstat (limited to 'src/rebar_prv_eunit.erl')
0 files changed, 0 insertions, 0 deletions