PHP code example of soyhuce / phpunit-to-cobertura

1. Go to this page and download the library: Download soyhuce/phpunit-to-cobertura library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

soyhuce / phpunit-to-cobertura example snippets

xml
<coverage processUncoveredFiles="true">
    <>
    </erage.php"/>
    </report>
</coverage>

./vendor/bin/phpunit-to-cobertura ./phpunit/codeCoverage.php ./phpunit/coberturaCoverage.xml