tag:help.appveyor.com,2012-11-13:/discussions/problems/1475-failed-tests-launch-with-script-does-not-fail-the-buildAppVeyor: Discussion 2018-10-19T08:16:59Ztag:help.appveyor.com,2012-11-13:Comment/359448762015-02-03T18:05:41Z2015-02-03T18:05:41ZFailed tests launch with script does not fail the build<div><p>Hi Jeremie,</p>
<p>To decide if the build should be terminated AppVeyor relies on
exit code. Seems like <a href=
"https://github.com/Code52/pretzel/blob/master/appveyor.yml#L32">this
command</a> returns 0?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/359448762015-02-03T20:47:48Z2015-02-03T20:47:48ZFailed tests launch with script does not fail the build<div><p>Oh, ok.<br>
I understand, thanks for the tips.<br>
I will look with opencover then.</p></div>Jérémie Bertrandtag:help.appveyor.com,2012-11-13:Comment/359448762015-02-08T08:45:23Z2015-02-08T08:45:23ZFailed tests launch with script does not fail the build<div><p>Jus for info, the -returntargetcode parameter is the one
needed.<br>
<a href=
"https://github.com/opencover/opencover/wiki/Usage#optional-arguments">
https://github.com/opencover/opencover/wiki/Usage#optional-arguments</a></p></div>Jérémie Bertrand