Unit Test with PHPstorm permission denied
-
12-05-2021 - |
Question
I want to make unit tests in PHPStorm for Magento. I First tried to run all the existing unittests but it gives me this warning and exits with code 2:
Warning: unlink(var/allure-results/0000f2f0-fc2a-4207-b37f-55ebb81db76b-testsuite.xml): Permission denied in /var/www/osp.example.com/magento-headless/Magento2/vendor/allure-framework/allure-phpunit/src/Yandex/Allure/Adapter/AllureAdapter.php:77.
I tried to follow these steps: https://devdocs.magento.com/guides/v2.4/test/unit/unit_test_execution_phpstorm.html
This is my run/debug configuration.
Did I miss something?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange