testcontainers

    testcontainers/testcontainers-java

    Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.

    devops
    testing
    docker
    docker-compose
    hacktoberfest
    integration-testing
    java
    Java
    MIT
    8.8K stars
    2.0K forks
    8.8K GitHub watchers
    Updated Oct 30, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 193 days ago, with 441 contributors on GitHub.

    Use Cases & Benefits

    • Provides a Java library to run lightweight, disposable Docker containers for integration testing with JUnit.
    • Enables reliable, isolated test environments by spinning up real instances of databases, browsers, or services on demand.
    • Use for integration testing Java applications requiring ephemeral database instances like PostgreSQL or MySQL.
    • Use for automating browser tests with Selenium in disposable Docker containers to ensure clean test runs.
    • Use for creating isolated environments to test microservices or external dependencies without affecting local setups.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.

    Excerpt from the testcontainers/testcontainers-java README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    2.0K+57

    Open issues

    641-7

    Compared with peers in DevOps

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    testcontainers/testcontainers-java compared with DevOps repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    milind-soni/OpenMausBot13.5K+6.0K45today
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    AstrBotDevs/AstrBot46.2K+1.4K655 days ago
    elie222/rakazo7.2K+9225926 days ago
    superplanehq/superplane8.8K+435607 days ago
    testcontainers/testcontainers-java8.8K—49193 days ago
    Category median13.5K+1.4K60—

    Also by testcontainers

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description