Testcontainers

Testcontainers is a Java library that supports JUnit tests and provides light and temporary examples of common databases, Selenium web browsers, or other components that can work in Docker containers. Through this library, developers can start real services in isolation during testing processes.

TE

testcontainers · Testing & QA

STARS8.8K
FORKS2.0K
COMMITS—
CONTRIBUTORS527
VERSIONtestcontainers-1.2.1
UPDATED4 days ago
JavaIntegration TestingDockerMIT

Common commercial products in this category: BrowserStack, Sauce Labs, TestRail

What can it do?
  • You can run temporary samples of common databases in JUnit tests.
  • You can start Selenium web browsers in a test environment.
  • You can include any component that can work within the Docker container into your tests.
Heads up
  • • High number of open issues (641)
User reviews
  • ↑ PositiveHacker News

    Testcontainers

    “A few examples of the difficulties I've had with testcontainers: - Testcontainers running in a DinD configuration is complex and harder to get right - Testcontainers needing to network or otherwise talk with other containers not orchestrated by testcontainers - general flakiness…”

  • • NeutralHacker News

    Testcontainers

    “> It may be common, but that doesn't mean it's warranted. Logical fallacies, for example, are also common (so are spelling and grammar mistakes), and yet personally I prefer to commit them less often rather than more often. You think the quotation is a fairly accurate depiction…”

My note

Alternative pages

More in: Testing & QA