Started by Bell GrantNov 5, 2021

Open
Options or alternatives to Testcontainers for Spring Boot integration testing in Kubernetes?

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I want to set up integration exams in a spring boot project with the use of Postgres, Redis, and elastic search (sooner or later also Kafka may be brought). To date I've observed options:

1. H2 database and embedded Redis. This will work however we're using some Postgres unique features in a number of our queries so this would now not permit us to cover all the instances.

2. Test containers. This appeared ideal but apparently, it's not viable to run the ones in the pipeline because we are the use of Kubernetes

The third choice requires a few manual paintings. It is simply possible to make a docker-compose file with all the services wished for trying out for nearby utilization and allow infrastructure crew to build packing containers the way they need for walking checks in a pipeline. But in this manner, a developer could ought to manually begin/forestall those containers while running checks regionally.

Is there a way to automate this manner? Or any options just like test containers that might work in Kubernetes? Or perhaps there is a way to run test containers in Kubernetes?

0 Replies

You must be Logged in to reply
Trending Categories
15
Software39
DevOps45
Frontend Development24
Backend Development18
Server Administration17
Linux Administration24
Data Center24
Sentry24
Terraform21
Ansible29
Docker28
Penetration Testing14
Kubernetes16
NGINX19
JenkinsX17
Techiio

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

facebooklinkdeintwitter

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Copyright techiio.com @2020 Kolkata, India
made with by Abhishek & Priyanka Jalan
Copyright techiio.com @2020
made with by Abhishek & Priyanka Jalan