I want to test my new modules with this library:
I also found this: http://phpforus.com/running-tests-using-oxid-testing-library/ - here is written that I need to install my testing library in /source directory of my OXID instance.
I have also fresh install of Oxid Eshop 6.1.1 EE.
I install this testing library like is described on blog here: http://phpforus.com/running-tests-using-oxid-testing-library/ - so I:
- create composer.json inside /source dir with content from oxid-testing-library from github
- goto vagrant ssh, goto source dir, run: composer install…
- on the end of intall I get message:
Shop directory structure is not setup properly. Edition could not be detected”
So now if I try to run eg. (from source dir) command: ./vendor/bin/runtests I also get an error:
PHP Fatal error: Uncaught Exception: Shop directory structure is not setup properly. Edition could not be detected in /var/www/oxideshop/source/vendor/oxid-esales/oxideshop-facts/src/Edition/EditionSelector.php:139
I have all those needed files in /source/vendor/… but I get an error…
Can someone help me with test library configuration, please?