Please read the contributing guidelines here.
This project is intended to be installed as a composer dependency for a Magento application, so if you're working with it as a custom module, you'll need to install your own Magento instance and then this project as a dependency.
Tests help us ensure code quality and backwards compatibility across various Magento and PHP versions. Please make sure you write clear and concise tests BEFORE you write your code, otherwise there will be no way to verify that your tests achieve the intended goals.
You can run the unit tests by defined by the composer
script.
composer run-script unit-test
These must be run from the Magento application's dev/tests/integration
directory.
../../../vendor/bin/phpunit --testsuite "Graycore_Magento2Cors"