Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292435

run-tests.sh should allow single test methods to be run

$
0
0

Problem/Motivation

Quite often you want to only run a single method from a test.

Proposed resolution

Allow method names to be appended to the class name. For example if we want to run the testBookExport test in BookTest we pass the following class argument to run-tests.sh
--class 'Drupal\book\Tests\BookTest::testBookExport'

Remaining tasks

  • Review
  • Commit

User interface changes

None

API changes

None

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Unfrozen changesUnfrozen because it only changes testing code

Viewing all articles
Browse latest Browse all 292435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>