Replies: 5 comments
-
@Vinai Given the work @lbajsarowicz has done to implement and document (https://docs.warden.dev/configuration/magento2-testing.html) support for testing using an additional database container, what are you thoughts on this? Is there still a case for having a |
Beta Was this translation helpful? Give feedback.
-
It took me a while to get back to this, but unfortunately currently I'm unable to use the additional container, see issue #136 The only downside of using the temp db is that when returning to a project after some time, the initial db will need to be re-initialized on the first run even if |
Beta Was this translation helpful? Give feedback.
-
That makes sense, and appreciate the input. I'll keep this open until it can be implemented. Another probable scenario is some may not have enough available memory to run the integration db in-memory (easy for me to forget since both my Mac and Dell workstations have 64 GB in them; laptops frequently have less available to allocate though) |
Beta Was this translation helpful? Give feedback.
-
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Beta Was this translation helpful? Give feedback.
-
This issue still is relevant. I'm always using the regular database for integration testing instead of the tmpfs mounted one because the speed difference is negligible and I don't want to wait for the initial install after starting the container. |
Beta Was this translation helpful? Give feedback.
-
In order to run integration tests, it would be helpful to pre-create an empty database
magento_integration_tests
and give themagento
user access to it.I'm not sure how best to accomplish this with this setup, otherwise I'd be happy to create a PR.
Beta Was this translation helpful? Give feedback.
All reactions