propelorm/Propel2 — comment on commit 5ba541a07e550ea150ce115efea676e55fa52dac
File: tests/Propel/Tests/Helpers/Bookstore/BookstoreTestBase.php line 27
By stloyd:

Bah, I looked into other test ;-)

About `tearDown()` it's about standard PHP memory problem. PHPUnit itself doesn't clean up already setuped test class variables, so if you don't clean up variables that are `protected/private/public` and are set, they will be in memory until PHPUnit ends testing, it's not problem when you have less then 1000 tests, but later it can be difficult. In Symfony2 when we added missing `tearDown()` function calls, we saved about __~20-30MB__ when running full testing.