For common automated development tasks, the repository contains several scripts which can be run via composer, like:
composer {script-name}
or, alternatively, directly via:
./scripts/{script-name}
script-name | description |
---|---|
analyse |
Run static code analysis with phpstan |
test |
Run tests with phpunit |
There's a test suite for unit tests and another one for integration tests. By default both test suites are run entirely. In order to just run one of them, you need to add the --testsuite
parameter to the script call, e.g.:
composer test -- --testsuite unit
composer test -- --testsuite integration
or alternatively:
./scripts/test --testsuite unit
./scripts/test --testsuite integration
see LICENSE