grunt-perfbudget
grunt-perfbudget copied to clipboard
running all tests even if some fail
per https://github.com/gruntjs/grunt/issues/1163 seems like this is a grunt issue/discussion, question here is whether it is worth putting in a specific fix here until grunt provides the needed functionality. note the need for non zero exit code also.
currently we can't both run all the tests to capture the data in a systematic way and exit with a non zero exit code if any one test failed.
Warning: Task "perfbudget:test" failed. Used --force, continuing.
Done, but with warnings.
$ echo $?
0
Warning: Task "perfbudget:test" failed. Use --force to continue.
Aborted due to warnings.
$ echo $?
3