[TIP] Determine test status in tearDown method

Robert Collins 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.

-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20091021/adc51747/attachment.pgp>


More information about the testing-in-python mailing list