Commit | Line | Data |
---|---|---|
f03dc6b0 TO |
1 | <?php |
2 | namespace Civi\CiUtil\Command; | |
3 | ||
4 | class LsCommand { | |
00be9182 | 5 | public static function main($argv) { |
f03dc6b0 TO |
6 | $paths = $argv; |
7 | array_shift($paths); | |
8 | foreach (\Civi\CiUtil\PHPUnitScanner::findTestsByPath($paths) as $test) { | |
9 | printf("%s %s %s\n", $test['file'], $test['class'], $test['method']); | |
10 | } | |
11 | } | |
ef10e0b5 | 12 | } |