Download the PHP package ecomdev/testcontainers-magento-data without Composer
On this page you can find all versions of the php package ecomdev/testcontainers-magento-data. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ecomdev/testcontainers-magento-data
More information about ecomdev/testcontainers-magento-data
Files in ecomdev/testcontainers-magento-data
Package testcontainers-magento-data
Short Description TestContainers for Magento data in integration/functional tests
License MIT
Informations about the package testcontainers-magento-data
🐳 Test-Containers for Quick Magento Development
This package simplifies the process of automated testing with real database and search engine
✨ Features
- 📦 Pre-configured database and search containers: Instantly spin up containers with ready-to-use Magento data
- ⚙️ Easy setup and use: Use PHP package to automatically discard container after tests
- 🎯 Blazingly Fast: Container takes only few seconds to start, so you can focus on testing instead of waiting for db initialization
📋 Requirements
- 🐳 Docker: Ensure Docker is installed and operational on your system.
📦 Available images
All the available Docker image version can be found in build repository EcomDev/testcontainer-magento-data
Installation
Use composer with --dev
flag to add it as dependency for your tests
Examples
MySQL container
Create Latest Magento Database Build
Create Latest Magento Database Build with sample data
Create 2.4.7-p2 with sample data and fetch number of products
MariaDB container
Everything the same as for MySQL container, just a different builder method
OpenSearch container
For OpenSearch container there is a different builder and container, that allows building base url for http connection
Here is a small example
📜 License
This project is licensed under the MIT License.
See the LICENSE file for more details.