Author rbcollins
Recipients ezio.melotti, martin.panter, michael.foord, r.david.murray, rbcollins
Date 2015-07-13.23:31:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Setting some basic design parameters here.

Its ok for a test to know if it itself has decided on some status. See e.g. testtools.expectThat for a related design thing.

Making some official API within the test itself so code after the failure can take appropriate actions seems pretty safe to me, as long as its a one-way switch - no backsies.

I think inspecting the reporter would be overly limiting on the reporter implementation, and we shouldn't do that.

Further, I think limiting the possible status's that we track to the minimum would be good here, even though its inconsistent with the current overly rich separation unittest offers.

That is, some self.status field which might even be an enum (if enum34 supports Python 2.6 for backports [as unittest is currently backported to 2.6 and up].

unexpected success
expected failure
Date User Action Args
2015-07-13 23:31:45rbcollinssetrecipients: + rbcollins, ezio.melotti, r.david.murray, michael.foord, martin.panter
2015-07-13 23:31:45rbcollinssetmessageid: <>
2015-07-13 23:31:45rbcollinslinkissue24249 messages
2015-07-13 23:31:45rbcollinscreate