22 lines
399 B
PHP
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']);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|