Hi Josh,
I'm not inferring it, but I'll proclaim it:
ZF has a TestHelper! :)
There is one for the trunk in trunk/tests/TestHelper.php, and there is
one in the incubator, too.
Maybe this isn't what you think it might be? Basically, it sets up the
environment (e.g., include_path) for making ZF test suites run smoothly.
Best regards,
Darby
Josh Team wrote:
Off topic but are you guys inferring that ZF has a TestHelper?
Thanks,
Josh Team
On Fri, Apr 18, 2008 at 7:51 AM, James Dempster <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
lol and this make me the resistance, aww poop.
I can't think of any way to solve this problem. I've put my thinking
hat on.
--
/James
On Fri, Apr 18, 2008 at 1:07 PM, Darby Felton <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi James,
Yes, the reason I added this line to the TestHelper was for
accommodating the Zend_Session tests, which depend on
headers_sent() returning false prior to their running.
I did not merge this change to the release-1.5 branch [yet], as
I suspected this change would meet with some resistance (e.g.,
"why can't I see test results as they occur, rather than when
they are done?").
All things considered, I should probably remove this line from
the TestHelper, and the Zend_Session test suite should be
rewritten such that it does not matter whether output had
occurred before the suite is run.
Does anyone else have an opinion on this to share?
Thanks!
Best regards,
Darby
James Dempster wrote:
Is there any reason why the unit tests are output buffered?
-- TestHelper.php #22 --
/*
* Start output buffering
*/
ob_start();
--
/James