lime

should one use phpunit or lime with symfony?

i just wonder, should one use symfony's lime or phpunit for testing? what are the pros and cons with each one? thanks ...

Test that each page doesn't exceed allowed SQL count in Symfony?

I wish I could have an isSQLCountLessThan() function or something. $browser = new sfTestFunctional(new sfBrowser()); $browser ->get('/some/page') ->with('response')->begin() ->isStatusCode(200) // ... ->isSQLCountLessThan(20) // imagine how cool :) ->end(); Is there a way to have such? ...

Symfony Unit Testing and Excessive Memory Leaks?

We're currently having issues with memory leaks when using unit tests with Symfony 1.x to the magnitude of a decent number of tests eating 512MB of memory. Currently we've tried: Using a phpunit plugin Using lime Restricting the tests to a few sfPropelData loads + functional tests repeated a few times Switching to PHP 5.3.3 to handle...