Skip to content

Commit

Permalink
feat: Assess testcontainers (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
mar-schmidt authored Sep 30, 2021
1 parent ce75ad6 commit 3bada25
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions radar/qa/testcontainers.yaml
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

0 comments on commit 3bada25

Please sign in to comment.