PHPUnit with OutputTestCase
| From: | Laurent Laville | Date: | Sat, 07 Jul 2007 22:36:53 +0000 |
| Subject: | PHPUnit with OutputTestCase | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-47265@lists.php.net to get a copy of this message | ||
Hi PHPUnit testers,
I want to know if someone has already used the OutputTestCase extension to check if a full html page is equal to an expected result.
I would like to use it to PEAR_Info Test Suite, but i'm not sure if it's the best solution, and also if there is not a problem with long content.
While I try the guide example [1], all work fine with PHPUnit 3.1.2, but when I used it with a long content , I always a failure while I pretty sure to have both content (expected, and printed) equals.
Feedback are welcome
Laurent
[1] http://www.phpunit.de/pocket_guide/3.1/en/testcase-extensions.html#testcase-extensions.output