-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce75ad6
commit 3bada25
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Testcontainers | ||
blip: | ||
- date: 2021-09-29 | ||
ring: ASSESS | ||
description: | | ||
[Testcontainers](https://www.testcontainers.org/) 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. | ||
rationale: | | ||
Testcontainers make the following kinds of tests easier: | ||
Data access layer integration tests: 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. | ||
Application integration tests: for running your application in a short-lived test mode with dependencies, | ||
such as databases, message queues or web servers. | ||
UI/Acceptance tests: 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. | ||
license: | ||
open-source: | ||
name: MIT | ||
link: https://raw.githubusercontent.com/testcontainers/testcontainers-java/master/LICENSE | ||
related: | ||
- infrastructure_ci_cd/docker.yaml | ||
tags: | ||
- java | ||
- docker | ||
- devops | ||
- test |