🐳 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 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
📋 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 cargo with --dev flag to add it as dependency for your tests
Examples
MySQL container
Run queries against Magento database build with sample data
use MySqlPool;
use AsyncRunner;
use ImageBuilder;
use ;
async
📜 License
This project is licensed under the MIT License.
See the LICENSE file for more details.