ho-nl / magento2-ReachDigital_TestFramework

Faster drop-in replacement for Magento's integration test.
MIT License
75 stars 13 forks source link

Allow for file dev/tests/quick-integration/etc/config.php #13

Closed jissereitsma closed 4 years ago

jissereitsma commented 4 years ago

This PR adds the option to copy your own config.php which is taken so far from your global app/etc/config.php file, from the directory dev/tests/quick-integration/etc/ as well.

The main reason for me to want this, is that in my Integration Tests I was using some core fixtures that required an immense rollback (deleting all products, categories, customers, orders), if the sample data modules were enabled. On a global level (my dev environment) I want the sample data to be there. But on an integration testing level, those sample data make little sense. Copying over the config.php from app/etc/ into dev/tests/quick-integration/etc/ allows any developer to customize the differences.

paales commented 4 years ago

@jissereitsma Thanks!

github-actions[bot] commented 4 years ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: