Last active
September 5, 2017 14:44
-
-
Save cristiroma/df7f3b201c50a58d2eb9791fce17b9f5 to your computer and use it in GitHub Desktop.
Running Drupal 8 functional tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List tests classes by group | |
php core/scripts/run-tests.sh --list | |
Normal run of a single class | |
php core/scripts/run-tests.sh --non-html --color --verbose --url http://site.local --class "Drupal\Tests\my_module\Functional\ClassTest" | |
Debug a single class (leave results) | |
php core/scripts/run-tests.sh --die-on-fail --keep-results-table --keep-results --non-html --color --verbose --url http://site.local --class "Drupal\Tests\my_module\Functional\ClassTest" | |
Useful options: | |
--keep-results-table - Do not cleanup database tables after testing | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment