When using Prova with --browser option, if the tests fails, Prova still exits with code 0. Without --browser option however it exists with code != 0 code which is fine.
In short:
prova t.js --browser --quit || echo "failed"
does not work
but
prova t.js --quit || echo "failed"
works fine.
Proper exit code would really help scripting ( e.g fail a CI task ) without relying on parsing the output.
When using Prova with --browser option, if the tests fails, Prova still exits with code 0. Without --browser option however it exists with code != 0 code which is fine.
In short:
does not work
but
works fine.
Proper exit code would really help scripting ( e.g fail a CI task ) without relying on parsing the output.