Remove test.drush.inc #1362

Closed
weitzman opened this Issue May 1, 2015 · 7 comments

Projects

None yet

7 participants

@weitzman
Member
weitzman commented May 1, 2015

Drush attempts to offer an alternative Simpletest runner, mimicking what Drupal's scripts/run-tests.sh offers. Alas hardly anyone keeps it up to date and it has fallen behind for Drupal 8 (can't run phpunit based tests). I propose to remove this script in Drush 7. Others who care can maintain it in Contrib or on Github. Note that run-tests.sh also returns results in junit xml.

Objections?

@greg-1-anderson
Member

No objection here. I think it is better to have just one way to run the tests. I think that the Drupal Simpletests are already too fragile--maintaining a parallel runner does not improve the situation, and adds uncertainty.

@amateescu

+1 for removing it.

@weitzman weitzman closed this in b765d33 May 5, 2015
@arildm
arildm commented Jun 17, 2015

Any chance we can restore test-clean? It was helpful.

@weitzman
Member

Sorry, no. Use scripts/run-tests.sh in drupal.

@EugenMayer

that means, i cannot use drush 7.x to run simpletests under drupal6, right?

@zikphil
zikphil commented Oct 29, 2015

Sadly, run-tests.sh does not let you export test result using --xml='path'. Which makes it that much harder to get a proper CI analysis.

@stefgosselin

@philippelabat - I hit the same wall as you, but came to realise run-tests.sh does support xml exports, it is just not documented in the script arguments.

See line 145 of run-tests.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment