PHP code example of ndrake0027 / drupal-junit-parser

1. Go to this page and download the library: Download ndrake0027/drupal-junit-parser 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/ */

    

ndrake0027 / drupal-junit-parser example snippets



/********
 * Main *
 *******/

r = $argv[1];
$pattern = isset($argv[3]) ? $argv[3] : '';
$type = isset($argv[2]) ? $argv[2] : '';
$parser = new Parser();
$parser->parse($dir, $pattern, $type);