88f0d84947e30db2755c4e40193e7a42bd656bf6
[civicrm-core.git] / Civi / CiUtil / Command / LsCommand.php
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 }