blob: 40b9fcc9d34fb79753e91897a23add12114b058e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# ddev phpunit
Runs the unit tests in the web container.
**Example:** Run the unit tests:
```bash
$ ddev phpunit
```
Any additional args[^note] will be passed to the PHPUnit executable in the container:
**Example:** Run only tests with names mathcing "Access":
```bash
$ ddev phpunit --filter Access
```
The command has several special subcommand for common tasks:
- `ddev phpunit coverage` to generate coverage reports.
- `ddev phpunit debug` to enable step debugging.
- `ddev phpunit provile` to generate profiling info.
These subcommands will be further described elsewhere.
This command is provided by the Hubzilla DDEV environment.
[^note]:Except the special commands as noted below.
|