[TIP] Determine test status in tearDown method
robertc at robertcollins.net
Tue Oct 20 15:01:35 PDT 2009
On Tue, 2009-10-20 at 16:34 -0500, Olemis Lang wrote:
> > I have a draft of an API to add logging data to the failure output, but
> > haven't yet drafted the API for test writers to provide that data.
> I think something like this would be awesome, especially for only
> services and hosted apps (e.g. in the cloud ;o)
> ... but I don't see the relationship with the original question
Jesse wants find out if a test errored, *so as to provide logging data
for errors*. The relationship is that if you can just provide the
logging data without making the test output be cluttered on success,
then Jesse may not care about whether the test failed or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
More information about the testing-in-python