3 Repos
Using real database engines running in containers for integration testing instead of mocks.
Distinct from Database Testing: Distinct from Database Testing: focuses specifically on the use of containerized engine instances for integration rather than general logic testing.
Explore 3 awesome GitHub repositories matching part of an awesome list · Containerized Database Integration. Refine with filters or upvote what's useful.
Testcontainers for Java is a library for launching and managing disposable Docker containers to provide isolated dependencies for automated tests. It provides specialized provisioners for containerized databases, a manager for WebDriver browser containers, and an orchestrator for deploying multi-container applications via Docker Compose. The project ensures reproducible data states through database schema initialization and provides integration with JUnit to manage the lifecycle of external services. It supports automated browser testing by launching Selenium containers with the ability to re
Allows running real database engines in Docker containers during tests to replace mocks or in-memory databases.
This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query Responsibility Segregation (CQRS) patterns using the Go programming language. It serves as a sample application to demonstrate how to decouple core domain rules from infrastructure and delivery mechanisms. The system is built as a gRPC microservices architecture, utilizing type-safe communication and service contracts. It implements an event-driven architecture to manage eventual consistency and asynchronous processing, specifically employing the Outbox pattern to ensure reliable messagin
Ensures data persistence layers function correctly by running tests against real database engines in containers.
Testcontainers for .NET ist eine Docker-Testbibliothek und ein Integrationstest-Framework, das für die Verwaltung des Lebenszyklus von kurzlebigen Containern entwickelt wurde. Es bietet High-Level-Abstraktionen als Docker-API-Wrapper zur Bereitstellung ephemerer Infrastruktur und ersetzt Mocks durch echte Datenbank-, Messaging- und Suchmaschineninstanzen, um isolierte und reproduzierbare Testumgebungen zu gewährleisten. Das Projekt zeichnet sich durch ein Builder-Konfigurations-Container-Muster und einen dynamischen Port-Binding-Mechanismus aus, der Kollisionen während der gleichzeitigen Testausführung verhindert. Es ermöglicht zuverlässige Service-zu-Service-Kommunikation via virtueller Netzwerk-Orchestrierung und Netzwerk-Aliasing und stellt die Serviceverfügbarkeit durch Polling-basierte Bereitschaftsprüfungen für HTTP-Endpunkte und TCP-Ports sicher. Die Bibliothek bietet spezialisierte Module für relationale, NoSQL- und Vektor-Datenbanken sowie Messaging-Broker und Cloud-Service-Emulatoren. Ihr Funktionsumfang erstreckt sich auf Container-Image-Konfiguration, Log-Sammlung und die Simulation von Netzwerkbedingungen zur Überprüfung der Systemresilienz. Sie unterstützt die Konnektivität zu lokalen und Remote-Docker-Runtimes durch standardisierte Umgebungsvariablen und Konfigurationsdateien.
Provisions disposable relational, NoSQL, or vector database instances in Docker to verify data persistence and query logic.