PackageFactory / PackageFactory.ComponentEngine

GNU General Public License v3.0
4 stars 1 forks source link

Nothing to see here yet

Development

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

Running tests

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

License

see LICENSE