Commit | Line | Data |
---|---|---|
1 | <?php | |
2 | namespace Civi\CiUtil\Command; | |
3 | ||
4 | /** | |
5 | * Class LsCommand | |
6 | * | |
7 | * @package Civi\CiUtil\Command | |
8 | */ | |
9 | class LsCommand { | |
10 | /** | |
11 | * @param $argv | |
12 | */ | |
13 | public static function main($argv) { | |
14 | $paths = $argv; | |
15 | array_shift($paths); | |
16 | foreach (\Civi\CiUtil\PHPUnitScanner::findTestsByPath($paths) as $test) { | |
17 | printf("%s %s %s\n", $test['file'], $test['class'], $test['method']); | |
18 | } | |
19 | } | |
20 | ||
21 | } |