function drush_test_list

6.x test.drush.inc drush_test_list($groups)
4.x test.drush.inc drush_test_list($groups)
5.x test.drush.inc drush_test_list($groups)
1 call to drush_test_list()
drush_test_run in commands/core/test.drush.inc
Test-run command callback.

File

commands/core/test.drush.inc, line 232
Simpletest module drush integration.

Code

function drush_test_list($groups) {
  foreach ($groups as $group_name => $group_tests) {
    foreach ($group_tests as $test_class => $test_info) {
      $rows[] = array(
        'group' => $group_name,
        'class' => $test_class,
        'name' => $test_info['name'],
      );
    }
  }
  return $rows;
}