chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
Is it possible to get the exit codes for TMockRunner.exe?
asked by traffic (1.2k points)

2 Answers

0 votes

Generally 0 will mean success, any other code will signify an error.
In cases where TMockRunner is executing another process such as NUnit it passes the exit returned by that process.

Hope this helps.
Let me know if you need something more specific.
answered by lior (13.2k points)
0 votes
I have been running ncover and nunit through TMockRunner and I was getting an error code of 2, but everything seemed to run fine. I was confused as to why there was a non-zero exit code and I thought that it was TMockRunner. I will look up the ncover and nunit exit codes to see what is going on. Thank you.
answered by traffic (1.2k points)