Suggestion: update for exec to allow for exit code > 0 #60

Closed
ericnewton76 opened this Issue Mar 14, 2013 · 2 comments

Comments

Projects
None yet
3 participants

Nunit-console seems to exit with 1 with an ignored test. but not all the time 👎

My suggestion is add allowedExitCode parameter to the exec cmdlet so that one could specify that 1 is still okay :)

Contributor

nightroman commented May 31, 2013

I used to suggest something like this, see #16

Owner

damianh commented Mar 31, 2014

Firstly it's easy to write your own exec replacement and perhaps write specialized ones that work with the exit codes of the various tools. I'm with @JamesKovacs , not sure such a thing would belong in core.

When it comes to tests, I tend not wrap them in an exec {} and just let Teamcity fail the build via service messages.

@damianh damianh closed this Mar 31, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment