[TIP] Incorrect return code py.test on Windows/Jenkins ?
jorge.vargas at gmail.com
Thu Mar 24 06:21:04 PDT 2011
On Thu, Mar 24, 2011 at 6:07 AM, Pere Martir <pere.martir4 at gmail.com> wrote:
> On Tue, Mar 22, 2011 at 3:29 PM, Jorge Vargas
>> Right. I have to agree that the difference between a and b is valid.
>> In practice i consider both a and b a failure in the test suite that
>> needs to be fixed. Because it's either a problem in the configuration
>> or the new code.
> pyunit (import unittest) has the same behavior. However, it seems
> strange to me: then why we need the "unstable/yellow" status in
> Jenkins ?
Indeed, to be honest I didn't knew about it until you pointed it out.
I assume it's a java-ism because over there you can have "build
errors" as in the code does not compile. And "runtime errors" as in
the test fail to pass.
More information about the testing-in-python