Force Exclude files from PHPUnit Code Coverage

前端 未结 5 2064
北恋
北恋 2021-02-19 10:31

Is it possible to forcefully exclude a folder from PHPUnit\'s code coverage?

Problem I\'ve got is, that I have a Symfony 1.4 project, which has folders at ./lib/ve

5条回答
  •  粉色の甜心
    2021-02-19 10:48

    Works with PHPUnit 9.0.1

    
        
            DIRECTORY_TO_ADD
            ANOTHER_DIR_TO_ADD
            
                ANOTHER_DIR_TO_ADD/file1_to_not_include.php
                ANOTHER_DIR_TO_ADD/file2_to_not_include.php
            
        
    
    

提交回复
热议问题