File tree 3 files changed +8
-4
lines changed
3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 5
5
#ddev-generated
6
6
## Description: Run commands from the core drupal script
7
7
## Usage: drupal
8
- ## Example: " ddev drupal --help"
8
+ ## Example: ddev drupal --help\nddev drupal list\nddev drupal install demo_umami
9
9
## ExecRaw: true
10
10
11
11
/**
Original file line number Diff line number Diff line change 3
3
# ddev-generated
4
4
# # Description: Run Nightwatch
5
5
# # Usage: nightwatch
6
- # # Example: " ddev nightwatch --tag core"
6
+ # # Example: ddev nightwatch --tag core
7
7
8
8
echo " Clearing old webdriver sessions"
9
9
curl -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 3
3
# ddev-generated
4
4
# # Description: Run PHPUnit
5
5
# # Usage: phpunit
6
- # # Example: "ddev phpunit core/modules/sdc/tests "
6
+ # # Example: "ddev phpunit core/modules/field "
7
7
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
8
12
echo " Clearing old webdriver sessions"
9
13
curl -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