1
當我嘗試運行PHPUnit時,所有測試都會立即跳過 - 沒有任何錯誤或任何錯誤。有人能指引我朝着正確的方向嗎?PHPUnit跳過所有測試
[[email protected] selenium]$ phpunit .
PHPUnit 3.7.28 by Sebastian Bergmann.
Configuration read from /applications/selenium/phpunit.xml
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Time: 61 ms, Memory: 5.50Mb
OK, but incomplete or skipped tests!
Tests: 47, Assertions: 0, Skipped: 50.
我phpunit.xml
:
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
stopOnFailure="false"
backupGlobals="false"
bootstrap="bootstrap.php">
<php>
<const name="BASE_URL" value="http://localhost" />
<const name="SCREENSHOT_PATH" value="/tmp/selenium" />
<const name="SCREENSHOT_URL" value="http://localhost/screenshots" />
<const name="COVERAGE_URL" value="http://localhost/remote/codeCoverage" />
</php>
<selenium>
<browser browser="*firefox"/>
</selenium>
</phpunit>