Where can I see return codes spec for nunit-console?
For example, what mean return code "-100"?
Thanks.
This should be in the docs - but is not! Please file a bug to
remind us to add it.
Meanwhile, from the source code, we have this key...
public static readonly int OK = 0;
public static readonly int INVALID_ARG = -1;
public static readonly int FILE_NOT_FOUND = -2;
public static readonly int FIXTURE_NOT_FOUND = -3;
public static readonly int UNEXPECTED_ERROR = -100;
Additionally, positive values give a count of failed tests
in the run.
The -100 return code is a catch-all, usually indicating an
unhandled exception in your application or test. It should
normally come with a stack trace.
Charlie
> --
> You received this message because you are subscribed to the
> Google Groups "NUnit-Discuss" group.
> To post to this group, send email to nunit-...@googlegroups.com.
> To unsubscribe from this group, send email to
> nunit-discus...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/nunit-discuss?hl=en.
>
>
Runtime Environment - OS Version: Microsoft Windows NT 6.2.9200.0 CLR Version: 2.0.50727.8009 ( Net 3.5 )
But I cannot get it to fail on my developer machine:
Runtime Environment - OS Version: Microsoft Windows NT 6.1.7601 Service Pack 1 CLR Version: 2.0.50727.5485 ( Net 3.5 )
Try running with --labels:All. This might point to a particular test
that is causing the problem.