This packages has predefined test setups for code quality, code readability and style, unit/integration/functional tests as well as acceptance tests, and frontend performance. Check them out at the scripts sections of composer.json and package.json.
Default configuration is phpstan.neon.dist. Create a custom phpstan.neon to apply your own settings. Also visit phpstan.org · GitHub · Packagist
$ composer phpstan
# which includes
$ phpstan analyse
Default configuration is .php-cs-fixer.dist.php. Create a custom .php-cs-fixer.php to apply your own settings. Also visit cs.symfony.com · GitHub · Packagist
$ composer phpcs
$ composer phpcs:apply
Default configuration is phpunit.xml.dist. Create a custom phpunit.xml to apply your own settings. Also visit phpunit.readthedocs.io · Packagist
$ composer test
# which includes these two:
$ composer test:unit
$ composer test:integration
$ composer test:functional
Default configurazion is codeception.yml. These Codeception tests arequire a running Docker Container so that your project is available under https://localhost:
$ composer test:acceptance
# which includes:
$ composer codecept
Default configuration is lighthouserc.js. Before running Lighthouse CI on the Docker machine, a production build is triggered. Test results will go locally in ./tests/lhci directory. Visit lhci docs · Google’s Lighthouse
$ npm run lighthouse
# Alias for
$ npx lhci autorun lighthouserc.js
Postman users import the requests collection.json from the resources/postman directory. All requests are prefixed with a `` variable; either set its value in Postman or replace the whole string with a text editor.