-4
我使用PHPUnit的5.4.8和2.3 Symfony的運行PHPUnit的所有測試中的Symfony
我有我的單元測試所有的包,我想在HTML中運行所有這些測試,具有覆蓋範圍。我試過用命令
phpunit -c app --no-globals-backup --coverage-html ~/coverage/ src/*Bundles/Tests/Unit
但它只是不起作用。
這是我的測試套件phpunit.xml.dist
<testsuites>
<testsuite name="Project Test Suite">
<directory>../src/*/*Bundle/Tests/Unit</directory>
</testsuite>
</testsuites>
'但它只是不work.'你能更specifi C? – BVengerov
它引發錯誤:錯誤的數據格式爲反序列化'Mockery_57f53d6f8d9b8' –