PHP Notice: Please no longer include "PHPUnit/Framework.php". in /usr/share/php/PHPUnit/Framework.php on line 50
Fatal error: Class 'PHPUnit_Runner_StandardTestSuiteLoader' not found in /usr/share/php/PHPUnit/TextUI/TestRunner.php on line 434
PHP Fatal error: Class 'PHPUnit_Runner_StandardTestSuiteLoader' not found in /usr/share/php/PHPUnit/TextUI/TestRunner.php on line 434
/var/www/nrka2/build/build.xml:30: exec returned: 255
BUILD FAILED (total time: 2 seconds)
你好,我在最新的 phpUnit 版本中遇到了这个错误。有什么解决办法吗?
最佳答案
将您的收录更改为 PHPUnit/Autoload.php .
关于unit-testing - PHPUnit 本身的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3815774/