drupal-civicrm/sites/all/modules/civicrm/Civi/CiUtil/Command/LsCommand.php
2018-01-14 13:10:16 +00:00

22 lines
399 B
PHP

<?php
namespace Civi\CiUtil\Command;
/**
* Class LsCommand
*
* @package Civi\CiUtil\Command
*/
class LsCommand {
/**
* @param $argv
*/
public static function main($argv) {
$paths = $argv;
array_shift($paths);
foreach (\Civi\CiUtil\PHPUnitScanner::findTestsByPath($paths) as $test) {
printf("%s %s %s\n", $test['file'], $test['class'], $test['method']);
}
}
}