Author rbcollins
Recipients michael.foord, olemis, rbcollins
Date 2009-04-09.12:15:22
SpamBayes Score 7.71e-12
Marked as misclassified No
Message-id <1239279324.74.0.826216289254.issue5728@psf.upfronthosting.co.za>
In-reply-to
Content
Original mail:
JML's testtools has a TestResult subclass with a done() method. The
reason for this method is to allow doing things after the last test has
run. While a result can infer 'first test' it can't infer 'last test'
without ugliness like __del__.

Some uses for this are:
 - reporting summary data
 - closing external resources like log files, sockets to remote machines
etc
 - <your idea here>

This can be added quite safely I think - check for the attribute, and if
present call it.

done() could be spelt differently - I don't think anyone would care.
testsFinished()
finished()
etc.
History
Date User Action Args
2009-04-09 12:15:25rbcollinssetrecipients: + rbcollins, michael.foord, olemis
2009-04-09 12:15:24rbcollinssetmessageid: <1239279324.74.0.826216289254.issue5728@psf.upfronthosting.co.za>
2009-04-09 12:15:23rbcollinslinkissue5728 messages
2009-04-09 12:15:22rbcollinscreate