Using this job you'll be able to launch PHPUnit tests. You need nothing more than a valid phpunit.xml.
The results of your tests are available in two locations:
* In an artifact named report-phpunit.xml
* In `Tests` tab, in your pipeline state page.
Using this job you'll be able to launch PHPUnit tests.
## How to use it
1. Put a valid `phpunit.xml` in the root of your php project, edit [variables](#variables) if not.
1. Put a `phpunit.xml` (check [syntax](https://phpunit.readthedocs.io/en/latest/configuration.html#the-phpunit-element)) in the root of your php project. Edit `PHPUNIT_CONFIG_FILE` (see [Variables](#variables)) to change the default behavior.
2. Add the corresponding URL to your `.gitlab-ci.yml` file (see [Getting
started](/getting-started)). Example:
@@ -37,5 +33,17 @@ The results of your tests are available in two locations:
| Name | Description | Default |
| ---- | ----------- | ------- |
| `PHPUNIT_VERBOSITY`<imgwidth=250/> | Verbosity of PHPUnit | `-v` |