File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 55#ddev-generated
66## Description: Run commands from the core drupal script
77## Usage: drupal
8- ## Example: " ddev drupal --help"
8+ ## Example: ddev drupal --help\nddev drupal list\nddev drupal install demo_umami
99## ExecRaw: true
1010
1111/**
Original file line number Diff line number Diff line change 33# ddev-generated
44# # Description: Run Nightwatch
55# # Usage: nightwatch
6- # # Example: " ddev nightwatch --tag core"
6+ # # Example: ddev nightwatch --tag core
77
88echo " Clearing old webdriver sessions"
99curl -f -s http://chrome:4444/status | jq -r ' .value.nodes[].slots[].session.sessionId' | while read -r session; do if [ " $session " != " null" ]; then curl -X DELETE " http://chrome:4444/session/$session " ; fi ; done
Original file line number Diff line number Diff line change 33# ddev-generated
44# # Description: Run PHPUnit
55# # Usage: phpunit
6- # # Example: "ddev phpunit core/modules/sdc/tests "
6+ # # Example: "ddev phpunit core/modules/field "
77
8+ if ! command -v phpunit > /dev/null; then
9+ echo " phpunit is not in PATH in the web container. You probably forgot to 'ddev composer install'"
10+ exit 2
11+ fi
812echo " Clearing old webdriver sessions"
913curl -f -s http://chrome:4444/status | jq -r ' .value.nodes[].slots[].session.sessionId' | while read -r session; do if [ " $session " != " null" ]; then curl -X DELETE " http://chrome:4444/session/$session " ; fi ; done
10- ./vendor/bin/ phpunit -c core --verbose " $@ "
14+ phpunit -c core --verbose " $@ "
You can’t perform that action at this time.
0 commit comments