Message326531
There is a design issue with the order of cleaning up. tearDown() is purposed to release resources acquired in setUp(). Resources acquired in test methods will be released in doCleanup() if use addCleanup(), but since doCleanup() is called after tearDown(), resources will be released not in reversed order of the time of acquiring. This causes issues if resources acquired in a test method depends on the resource acquired in setUp().
Adding doClassCleanups() and doModuleCleanups() with the same semantic will introduce this problem at class and module level. |
|
Date |
User |
Action |
Args |
2018-09-27 08:01:07 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, rbcollins, ezio.melotti, r.david.murray, michael.foord, axitkhurana, vajrasky, dablanc |
2018-09-27 08:01:06 | serhiy.storchaka | set | messageid: <1538035266.91.0.545547206417.issue24412@psf.upfronthosting.co.za> |
2018-09-27 08:01:06 | serhiy.storchaka | link | issue24412 messages |
2018-09-27 08:01:06 | serhiy.storchaka | create | |
|