Testcontainers for Java 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. Use a containerized instance of a MySQL, PostgreSQL or Oracle database to test your data access layer code for complete compatibility, but without requiring complex setup on developers' machines and safe in the knowledge that your tests will always start with a known DB state. Any other database type that can be containerized can also be used. For running your application in a short-lived test mode with dependencies, such as databases, message queues or web servers. Use containerized web browsers, compatible with Selenium, for conducting automated UI tests. Each test can get a fresh instance of the browser, with no browser state, plugin variations or automated browser upgrades to worry about. And you get a video recording of each test session.

Features

  • Application integration tests
  • Data access layer integration tests
  • UI/Acceptance tests
  • Check out the various contributed modules or create your own custom container classes
  • Requires Docker
  • Maven dependencies
  • Testcontainers is distributed as separate JARs with a common version number

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Testcontainers Java

Testcontainers Java Web Site

You Might Also Like
Red Hat Enterprise Linux on Microsoft Azure Icon
Red Hat Enterprise Linux on Microsoft Azure

Deploy Red Hat Enterprise Linux on Microsoft Azure for a secure, reliable, and scalable cloud environment, fully integrated with Microsoft services.

Red Hat Enterprise Linux (RHEL) on Microsoft Azure provides a secure, reliable, and flexible foundation for your cloud infrastructure. Red Hat Enterprise Linux on Microsoft Azure is ideal for enterprises seeking to enhance their cloud environment with seamless integration, consistent performance, and comprehensive support.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Testcontainers Java!

Additional Project Details

Programming Language

Java

Related Categories

Java Libraries

Registered

2023-03-16