代码之家  ›  专栏  ›  技术社区  ›  lokender singh Felix Kling

Symfony3.4:PHPUnit和无代码覆盖驱动程序可用[关闭]

  •  2
  • lokender singh Felix Kling  · 技术社区  · 7 年前

    vendor/bin/phpunit --coverage-html coverage

    错误出现:

     PHPUnit 6.5.8 by Sebastian Bergmann and contributors.
    
     Error:         No code coverage driver is available
    

    然后我安装了Xdebug

    sudo apt-get install php-xdebug

    但当我再次奔跑 vendor/bin/phpunit—覆盖率html覆盖率

    PHPUnit 6.5.8 by Sebastian Bergmann and contributors.
    
    Undefined variable: view
    
    1 回复  |  直到 7 年前
        1
  •  0
  •   Alexandre    7 年前