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. 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, or just each session where tests failed.

Features

  • Data access layer integration tests
  • Application integration tests
  • UI/Acceptance tests
  • Supported JVM testing framework
  • Manually add code to control the container/test lifecycle
  • Testcontainers is distributed as separate JARs with a common version number

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Testcontainers

Testcontainers Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Testcontainers!

Additional Project Details

Programming Language

C#

Related Categories

C# Frameworks

Registered

2022-09-14