Step 3: Add PHPUnit command
This commit is contained in:
parent
3c1954f310
commit
65b4926e0d
7
.ddev/commands/web/phpunit
Executable file
7
.ddev/commands/web/phpunit
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/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"
|
||||
|
||||
../vendor/bin/phpunit --config .. $*
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
/vendor/
|
||||
/*.cache
|
||||
!/.ddev/commands/
|
||||
|
|
Loading…
Reference in a new issue