I'm not sure what you mean by "we can already distinguish 0.. 1...
2... 3... 4..."
Those are not nunit-console return codes. It returns 0 for no
failures, a positive value equal to the number of test errors and
failures, or a various other negative codes for things for global
errors like file not found, etc.
Changing what we return for NUnit 2.x would be a BBC (Big Breaking
Change) for many folks, which is why we haven't done it. The return
codes we use have been in place for many years.
OTOH, we can certainly rethink the return codes for NUnit 3.0, which
leads me to some questions:
1. Why do you want to distinguish errors and failures? NUnit does make
that distinction individually, since fixing errors and failures often
require a different approach, but in the aggregate, they both mean
that some test didn't work.
2. Why do you care about Inconclusive. The intended definition of
Inconclusive is that nobody cares about the test. That's how we use it
internally with regard to Theories. If you are using Inconclusive
manually in non-Theory tests, you may want to rethink how you are
using it or - alternatively - get us to add a result type that suits
your intention.
I do like the idea that Ignored tests should be highlighted using some
return code. Historically, NUnit has pushed the idea that Ignored
tests are a "Bad Thing" but we don't reflect their presence in the
return code.
Charlie
> --
> You received this message because you are subscribed to the Google Groups
> "NUnit-Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
nunit-discus...@googlegroups.com.
> To post to this group, send email to
nunit-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/nunit-discuss.
> For more options, visit
https://groups.google.com/d/optout.