grunt-perfbudget icon indicating copy to clipboard operation
grunt-perfbudget copied to clipboard

running all tests even if some fail

Open ceeaspb opened this issue 11 years ago • 1 comments

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.

ceeaspb avatar Nov 10 '14 16:11 ceeaspb

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

ceeaspb avatar Nov 10 '14 16:11 ceeaspb