This commit is contained in:
Oliver Davies 2020-08-28 18:14:26 +01:00
parent a53fc74f93
commit e414469ca0
3 changed files with 175 additions and 0 deletions

8
.ddev/commands/web/phpunit Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
## Description: Run PHPUnit tests inside the web container.
## Usage: phpunit
## Example: "ddev phpunit" or with additional arguments such as "ddev phpunit --testdox"
cd /var/www/html
vendor/bin/phpunit --config . $*