function simpletest_drush_test_groups

6.x test.drush.inc simpletest_drush_test_groups($tests)
4.x test.drush.inc simpletest_drush_test_groups($tests)
5.x test.drush.inc simpletest_drush_test_groups($tests)

Retrieve all test groups and sanitize their names to make them command-line friendly.

1 call to simpletest_drush_test_groups()

File

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

Code

function simpletest_drush_test_groups($tests) {
  $groups = array();
  foreach (simpletest_categorize_tests($tests) as $name => $group) {
    $sanitized = strtr($name, array(' ' => ''));
    $groups[$sanitized] = $group;
  }
  return $groups;
}