XML_Parser offline unit tests
| From: | Christian Weiske | Date: | Fri, 03 Aug 2007 09:26:00 +0000 |
| Subject: | XML_Parser offline unit tests | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-4477@lists.php.net to get a copy of this message | ||
Hello Stefan,
XML_Parser unfortunately does not work in the pear-wide test suite
because the tests assume a working directory to include the XML_Parser
class via
> require_once(../Parser.php)
could you change this to read
> require_once(dirname(__FILE__) . '/../Parser.php');
or even better
> require_once('XML/Parser.php');
so that the tests can be run from any working directory?
I'd also fix it if you allow.
--
Regards/Mit freundlichen Grüßen
Christian Weiske