Message85812
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. |
|
Date |
User |
Action |
Args |
2009-04-09 12:15:25 | rbcollins | set | recipients:
+ rbcollins, michael.foord, olemis |
2009-04-09 12:15:24 | rbcollins | set | messageid: <1239279324.74.0.826216289254.issue5728@psf.upfronthosting.co.za> |
2009-04-09 12:15:23 | rbcollins | link | issue5728 messages |
2009-04-09 12:15:22 | rbcollins | create | |
|