Replies: 1 comment 4 replies
-
Hi @Cjewett, With VSTest (under dotnet test) you will have only 2 exit code: 0 when ok and 1 when something is wrong. But please do not a lot of "default" strictness you would expect is not present with VSTest. Have you tried updating to MTP? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm trying to figure out if exit code 1 in vstest.console.exe and dotnet test means all tests were executed but not all tests succeeded. We're trying to mark that case as successful in a CI pipeline because the test processing will handle if it was a failure or not. However, if dotnet test fails because of a crash or something more sinister than a failed test I'm wondering if that has a different exit code. Possible there is a list of exit codes and the associated reasoning for vstest / dotnet test?
Apologies if I'm asking this in the wrong repo. Can move it to the vstest repo if needed, but I've had good, responsive discussions in this repo in the past so figured I'd start here first.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions