# How to setup testing environment

**URL:** <https://forum.shopware.com/t/how-to-setup-testing-environment/89732>\
**Category:** Shopware 6 (English)\
**Tags:** programming\
**Created:** [13. August 2021 um 08:37 UTC](https://forum.shopware.com/t/how-to-setup-testing-environment/89732 "2021-08-13T08:37:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmierzynski](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mmierzynski](https://forum.shopware.com/u/mmierzynski)\
**Post date:** [13. August 2021 um 08:37 UTC](https://forum.shopware.com/t/how-to-setup-testing-environment/89732/1 "2021-08-13T08:37:30Z")

</div>

Hi everyone,  
I am new to Shopware. At the moment I am trying to setup PHPUnit to test my plugin but I have an issue with the preparation of the database whe I trying to perform `./psh.phar init-test-databases` command.  
`ERROR 3105 (HY000) at line 4496: The value specified for generated column 'reversed' in table 'product_keyword_dictionary' is not allowed.`  
`mysqldump: Got errno 32 on write`

It seems that the official tutorial is useless ☹

I am using development template with mysql database  
PHP: 7.4.21  
Symfony: 5.3.6  
Shopware: 6.4.99

Could you help me with this issue?
