ddev phpunit
Runs the unit tests in the web container.
Example: Run the unit tests:
$ ddev phpunit
Any additional args1 will be passed to the PHPUnit executable in the container:
Example: Run only tests with names mathcing "Access":
$ ddev phpunit --filter Access
The command has several special subcommand for common tasks:
ddev phpunit coverageto generate coverage reports.ddev phpunit debugto enable step debugging.ddev phpunit provileto generate profiling info.
These subcommands will be further described elsewhere.
This command is provided by the Hubzilla DDEV environment.
1
Except the special commands as noted below.