Do your unit tests set up a database connection? That's usually one of the things that can slow down tests.
Also, how many tests are you running? Are certain tests faster than others? -- Hector On Thu, May 6, 2010 at 3:59 PM, Brian Caspe <[email protected]> wrote: > Hi, > > I've just set up PHPUnit on my project ala > http://www.zendcasts.com/unit-testing-with-the-zend-framework-with-zend_test-and-phpunit/2009/06/. > Things seem to be working in that it will run tests, but the run time is > like 49 seconds (10 mb). This seems like it's terribly long to me.. Is there > a way to see what is taking so long? I googled for the answer but couldn't > find anything. It seems to me that there is some simple thing that I missed > in setting up either my application files, bootstrap or the phpunit > testcase. Any help would be appreciated! > > Brian > > -- > +420 608 577 012 > > Prague Playhouse > www.pragueplayhouse.com >
