View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006886||OXID eShop (all versions)||6. ------ Setup -------||public||2018-08-14 11:46||2018-11-29 09:00|
|Target Version||Fixed in Version|
|Summary||0006886: exclude tests from dist-packages|
|PHP Version||Not defined|
|Database Version||Not defined|
The testing library is included for development purpose but can be excluded during installation with the paramater --no-dev, which is recommended for a production installation.
It is described in our docs: https://docs.oxid-esales.com/developer/en/6.1/getting_started/installation/eshop_installation.html
I would consider this as a sufficient option.
Its not about the testing library, but about the test files, which are included in almost every composer package:
With the option "--prefer-dist" you can let composer to analyse .gitattributes file for "export-ignore" occurences and to shrink the package.
For more details see https://madewithlove.be/gitattributes/
Its a wide-spread approach anyway:
||see PL https://github.com/OXID-eSales/oxideshop_ce/pull/673|