Problem/Motivation

runtests.sh has simpletest_script_help() to print some command line help when trying to run it, this is incredibly out of date.

e.g.

  --file      Run tests identified by specific file names, instead of group     names.
              Specify the path and the extension
              (i.e. 'core/modules/user/user.test'). This argument must be last
              on the command line.

Drupal core test files haven't been $modulename.test since Drupal 8.

  --url http://example.com/ --class Drupal\block\Tests\BlockTest

This Drupal\block\Tests\BlockTest doesn't exist. tests now live in a Drupal\Tests namespace.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3465154

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

catch created an issue. See original summary.

yujiman85’s picture

Assigned: Unassigned » yujiman85

Going to work on this one and make the updates.

yujiman85’s picture

Assigned: yujiman85 » Unassigned
Status: Active » Needs review

Needs a review!

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Seems straight forward enough.

nod_’s picture

Status: Reviewed & tested by the community » Needs work

need some line wrapped

n-m-daz’s picture

I'm working on this issue Friday 6 September to fix the line wrapping until the end of the day. This is my first contribution.

n-m-daz’s picture

Currently, I am having problem trying to push commits in DrupalPod. Could be an ssh issue.
The remote repository "https://github.com/shaal/DrupalPod.git" is not accessible with the current token. Please grant the necessary permissions.

n-m-daz’s picture

Status: Needs work » Needs review

Needs review

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Didn't know the wrapping rule applied to sh files but learn something new.

Wrapping looks fine.

  • catch committed 2ffb236b on 10.3.x
    Issue #3465154 by yujiman85, n-m-daz, nod_: Update run-tests.sh help...

  • catch committed 61db23c7 on 10.4.x
    Issue #3465154 by yujiman85, n-m-daz, nod_: Update run-tests.sh help...

  • catch committed 4130b8c4 on 11.0.x
    Issue #3465154 by yujiman85, n-m-daz, nod_: Update run-tests.sh help...
catch’s picture

Version: 11.x-dev » 10.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x and cherry-picked back through to 10.3.x, thanks!

  • catch committed 747a4dcb on 11.x
    Issue #3465154 by yujiman85, n-m-daz, nod_: Update run-tests.sh help...

Status: Fixed » Closed (fixed)

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