2015-05-19 52 views
0

你能帮我吗?当创建单元测试类并且我的测试运行正常时,但是我尝试运行带有代码覆盖率的测试,测试始终显示0%。Phpstrorm代码覆盖不起作用

<?php 
include 'BowlingGame.php'; 
class Test extends PHPUnit_Framework_TestCase { 

    /** 
    * @test 
    */ 
    public function firstTest(){ 
     $a = new BowlingGame(); 

     $this->assertEquals(16,$a->row(16)); 
    } 
} 

回答