This package simplifies the process of automated testing with real database and search engine
- 📦 Pre-configured database and search containers: Instantly spin up containers with ready-to-use Magento data
- ⚙️ Easy setup and use: Use PHP or Rust 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
- Docker: Ensure Docker is installed and operational on your system.
Every day images generated
Each container image has a version tag with minimum supported version of data container (mysql, mariadb, opensearch) associated with Magento version.
Container images are generated under such naming schema:
ghcr.io/ecomdev/testcontainer-magento-data/[IMAGE_NAME]
With the following IMAGE_NAME variations:
mysql- Pre-populated MariaDB database container with relevant Magento schema and datamariadb- Pre-populated MariaDB database container with relevant Magento schema and dataopensearch- Pre-populated OpenSearch container with relevant Magento indexes based on db datamedia- Pre-populated media container with relevant Magento media files. Can be mounted into your own containers aspub/media
Packages available in the following languages to streamline usage of the Magento data image:
- ecomdev/testcontainers-magento-data composer package in PHP
- testcontainers-magento-data cargo crate in Rust
Licensed under the Apache License, Version 2.0. Copyright © EcomDev B.V.