The help of run-tests.sh suggest some example like:

sudo -u [wwwrun|www-data|etc] php ./scripts/run-tests.sh
  --url http://example.com/ --class UploadTestCase

The UploadTestCase class does not exist anymore. We need to change this example with an existing test class. This is easy, tagging "Novice".

CommentFileSizeAuthor
#1 965722-1.patch706 bytesgeerlingguy

Comments

geerlingguy’s picture

Assigned: Unassigned » geerlingguy
Status: Active » Needs review
StatusFileSize
new706 bytes

Attached patch fixes run-tests.sh so the example uses an actual test case (in this example, BlockTestCase).

[Edit: Credit should also go to Neo2010 for this patch, as he was working through this with webchick (always the patient one) in IRC, and I didn't realize he was also working on rolling a patch...]

scor’s picture

Status: Needs review » Reviewed & tested by the community
scor’s picture

Version: 7.x-dev » 8.x-dev
tr’s picture

Issue tags: +Needs backport to D7

+1
Applies and works for me in D8 and D7.

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x and 8.x. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Novice, -Needs backport to D7

Automatically closed -- issue fixed for 2 weeks with no activity.