我在 Mandriva 2011 Apache 2.2.22
PHP 5.3.14
PHPUnit 版本 3.3.17
Selenium Server 2.24.2
Yii 1.1.10上运行服务器
我把一些工作带到我家,发现我无法运行标准测试..
PHPUnit 3.3.17 by Sebastian Bergmann.
.EE
Time: 33 seconds
There were 2 errors:
1) testContact(SiteTest)
BadMethodCallException: Method waitForTextPresent not defined.
/home/user/server/hosts/cmf/www/framework/test/CWebTestCase.php:63
/home/user/server/hosts/cmf/www/protected/tests/functional/SiteTest.php:21
/home/user/server/hosts/cmf/www/protected/tests/functional/SiteTest.php:21
2) testLoginLogout(SiteTest)
BadMethodCallException: Method waitForTextPresent not defined.
/home/user/server/hosts/cmf/www/framework/test/CWebTestCase.php:63
/home/user/server/hosts/cmf/www/protected/tests/functional/SiteTest.php:36
/home/user/server/hosts/cmf/www/protected/tests/functional/SiteTest.php:36
FAILURES!
Tests: 3, Assertions: 4, Errors: 2.
我能做些什么来解决这个问题?