bat-test icon indicating copy to clipboard operation
bat-test copied to clipboard

Can't figure out how to use the fail-fast? option

Open samedhi opened this issue 6 years ago • 4 comments

(bat-test :parallel true :report {:type :progress :fail-fast? true}) does not seem to return immediately upon receiving a single failure. Am I using this incorrectly? Thank you.

samedhi avatar Sep 02 '18 15:09 samedhi

:fail-fast? is not :report option. It is top-level option like :parallel.

Deraen avatar Sep 03 '18 09:09 Deraen

Thank you

Not incredibly important, but thought I should report. bat-test: unknown option(s): :fail-fast? occurs when I use fail-fast? like so (bat-test :parallel true :fail-fast? true :report {:type :progress})

Using: [metosin/bat-test "0.4.0" :scope "test"]

samedhi avatar Sep 03 '18 21:09 samedhi

Oh. :fail-fast? is eftest option so I haven't included it in Boot task options, but even the extra options are passed into eftest.

Deraen avatar Sep 04 '18 05:09 Deraen

It would be nice to see a release containing this fix. Thanks!

ivarref avatar Mar 06 '19 10:03 ivarref