molotov
molotov copied to clipboard
Could molotov exit with a non-zero value in case of a failure
Hey,
I'm still trying to reuse my molotov scripts to do an integration test -- as a mean to both test my sever and my molotov script.
But molotov always exits with a zero success value, even in case of a failure.
Is it easy to change?
Thanks!
Hi, did you take a look into the --fail
CLI flag? I think that's pretty much it https://molotov.readthedocs.io/en/stable/cli/
Ah that's interesting, I guess I missed it indeed... Thanks for the pointer!
I guess we should also exits with 1 when --fail
is not used and at least one test fails