It's nice that you can run an individual simpletest, but it would be more helpful to run a group of tests. The attached patch allows you to type "drush test run ", for example "drush test run 'Node Tests'" to run all of the node tests. It also improves the listing page "drush test list" to list the available groups.

CommentFileSizeAuthor
#3 281396.patch3.04 KBdouggreen
#1 simpletest.patch3.17 KBdouggreen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

douggreen’s picture

FileSize
3.17 KB
moshe weitzman’s picture

Any chance you can make a patch for D6 and D7? I hate to add features in 5 which are not in later version.s Users get hostile when they upgrade and features disappear .. This is indeed wanted functionality.

douggreen’s picture

Version: 5.x-1.3 » 6.x-1.x-dev
FileSize
3.04 KB

Attached is the 6.x patch.

douggreen’s picture

Status: Needs work » Needs review

I'll do the 7.x version after you're done reviewing/committing the 6.x version. But since most of my sites are still on 5.x, I'd very much appreciate getting that one tested/reviewed/committed too. Thanks!

moshe weitzman’s picture

looks like #297070: running groups of tests, running tests that match a regular expression is more feature rich? shall we mark this as a dupe and work on that one?

douggreen’s picture

From the title, you'd think that, ... but looking at the patches, that patch just runs all tests that match a regex, and not all patches within a particular group name. I think that this is still the better one.

moshe weitzman’s picture

Status: Needs review » Closed (fixed)

no test running feature anymore. use run_tests.sh for now.