Run Simpletest tests on Jenkins I am trying to run a group of tests(Simpletest) for my custom modules through Jenkins.


Firstly I tried drush test-run (...) which has been removed from drush.
Then I tried php scripts/run-tests.sh --xml logs_tests [GROUP_NAME], but for every test class it returns /usr/bin/daemon: unrecognized option '--url'. I haven't defined any URL, maybe is something Simpletest specific.
Finally, I created a fairly simple Phing task &lt;exec command="php scripts/run-tests.sh --xml logs_tests ${group_name}" error="build_error"/&gt; only to get the response Unknown argument: --url, from Phing this time.
It seems like you have tried everything except to supply the URL.

You must supply a --url argument to execute simpletest. This is what I use, where "IAS" is the test group I have selected to execute:

php scripts/run-tests.sh --url http://localhost/drupal7 --concurrency 4 IAS


It follows that you must have a Drupal install to do this.