This directory contains the original Java implementation of Testcontainers that served as the reference for the Python implementation.
This folder contains:
-
Java source code: The complete original Java implementation
core/- Core Testcontainers functionalitymodules/- All specialized container modules (PostgreSQL, MySQL, Kafka, Elasticsearch, etc.)test-support/- Test utilitiesexamples/- Java usage examples
-
Build system: Gradle build configuration
build.gradle,settings.gradle- Main build filesgradle/,gradlew,gradlew.bat- Gradle wrapperbuildSrc/- Custom Gradle build logic
-
CI/CD pipelines: Original Java CI/CD configurations
.github/workflows/- GitHub Actions workflows for Java.circleci/- CircleCI configurationazure-pipelines.yml- Azure Pipelines configuration
-
Configuration: Java-specific configuration files
.devcontainer/- VS Code devcontainer for Java development.idea/- IntelliJ IDEA project settingsconfig/- Checkstyle and other Java tools configuration.sdkmanrc- SDKMAN configurationmkdocs.yml- Java documentation site configuration
-
Documentation: Original Java documentation
docs/- Documentation site source files
This directory serves as:
- Reference Material: The authoritative source for understanding the original Java API and implementation details during the Python conversion
- Documentation: Examples and patterns from the original implementation
- Historical Record: Preservation of the original codebase structure
The Python implementation is located in the repository root:
src/testcontainers/- Python source codetests/- Python testspyproject.toml- Python package configuration
This code originated from: https://github.com/testcontainers/testcontainers-java
See the LICENSE file in the repository root. The original Java code is:
- Copyright (c) 2015 - 2021 Richard North and other authors
- MS SQL Server module is (c) 2017 - 2021 G DATA Software AG and other authors
- Hashicorp Vault module is (c) 2017 - 2021 Capital One Services, LLC and other authors