私は必死にZend Framework 1.11でPHPUnitを動作させようとしています。私の phpunit.xml では、それが指している場所を確認する必要があります。
<phpunit bootstrap="./bootstrap.php" colors="false">
<testsuite name="ApplicationTestSuite">
<directory>./application</directory>
<directory>./library/</directory>
</testsuite>
<filter>
<whitelist>
<directory suffix=".php">../application</directory>
<directory suffix=".php">../library/</directory>
<exclude>
<directory suffix=".phtml">../applications/views</directory>
<file>../applications/Bootstrap.php</file>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./log/coverage" charset="UTF-8"
yui="true" highlight="false" lowUpperBound="35" highLowerBound="70"/>
</logging>
</phpunit>
このすべて:
./Application
./library
../application/Bootstrap.php
アプリケーション ディレクトリではなく、 tests ディレクトリを指しますよね?
私は常に致命的なエラーを抱えているため:require_once:必要なcontrollerTestCase.phpを開くのに失敗しました...
あなたの助けを前もって感謝します