我尝试使用 phpunit 运行 mongdodb 的驱动程序测试,如http://www.php.net/manual/en/mongo.testing.php所述,但 MongoInt32Test.php 文件似乎有问题。
# phpunit tests/mongosuite.php
Warning: require_once(MongoInt32Test.php): failed to open stream: No such file or directory in C:\Documents and Settings\owner\Desktop\mongo-php-driver\tests\MongoSuite.php on line 4
Fatal error: require_once(): Failed opening required 'MongoInt32Test.php' (include_path='.;\programming_tools\xampp-portable\php\PEAR') in C:\Documents and Settings\owner\Desktop\mongo-php-driver\tests\MongoSuite.php on line 4
我正在使用 php_mongo-1.3.1-5.4-vc9.dll 并在 windows xp 中运行 mongodb 2.0.8。有人知道如何解决这个问题吗?我在任何地方都找不到 MongoInt32Test.php。