ricardoamaro / drupalci_testbot

This is a testing version of Drupal testbot using docker containers. Please use:
https://drupal.org/project/drupalci_testbot
MIT License
53 stars 21 forks source link

Error when using --class and a test class name #5

Closed rteijeiro closed 10 years ago

rteijeiro commented 10 years ago

I tried to run one specific test using --class and the test name but it gives me an error. This is the command:

TESTGROUPS="--class Drupal\node\Tests\NodeFieldMultilingualTestCase" CONCURRENCY="4" DRUPALBRANCH="8.x" DEPENDENCIES="locale" PATCH="https://drupal.org/files/issues/node-2004252-124.patch" ./run.sh

It seems to strip the class name because this is the error I get: Fatal error: Class 'DrupalnodeTestsNodeFieldMultilingualTestCase' not found in /var/www/core/scripts/run-tests.sh on line 696.

ricardoamaro commented 10 years ago

Can't seem to be able to reproduce this.

I get a different error:

Already on '8.x'
Your branch is up-to-date with 'origin/8.x'.

Project: locale
No release history available for locale 8.x.                                                              [warning]
Could not download requested project(s).                                                                  [error]
ricardoamaro commented 10 years ago

you need to specify something like : --class 'Drupal\system\Tests\Action\ActionUnitTest'

Test summary

Drupal\system\Tests\Action\ActionUnitTest 11 passes

Test run duration: 1 sec