Mastering Testcontainers for Better Integration Tests

preview_player
Показать описание
Testcontainers libraries are a great way to create a reliable environment for running tests. They provide programmable, lightweight, and disposable containers to give you more confidence in your integration tests.

Getting started with Testcontainers is straightforward, but there are many advanced features to supercharge your test suite.

In this session, we’ll look at Testcontainers in more detail and answer the following questions:

What’s the best way to debug what happens in a container?
How do we build more complex topologies of services?
What’s the best way to migrate from Docker Compose?
How can we use Testcontainers for local development in addition to integration tests?
What is reusable mode and why is everyone talking about it?
Whether you’re a practitioner with solid test coverage or just beginning your journey into writing more reliable software, this session will introduce you to Testcontainers and its capabilities!

#Testcontainers #Docker #Java #SpringBoot
Рекомендации по теме
Комментарии
Автор

Very good thought about writing tests and generating the code! It would solve a lot of issues in the production code it self, like simplicity, readability, complexity and, of course, test coverage :)

olek_tar
Автор

It’s seems more a beginner guide than a mastering lecture. The example are pretty simple. I would suggest a deeper discussion about why use and harder use cases.

AModernCTO
Автор

Thanks for such a great video. Would be nice to see an example of Elasticsearch 8 test-container which is not so trivial as Redis, Rabbit or Postgres

Steklopod
Автор

This was brilliant! Thanks for sharing!

israellaks
Автор

thank you for the video, i love this video, very well and clearly explained, i got the answer what i was searching for.

ZiSang-zq
Автор

Can You please provide with the Gihub link?

AshishKabi-hh
Автор

Awesome really, where can i find that example?

leandrotulaunc
Автор

We are facing issue with running TC in the cloud. In order to run tests in pipeline we need docker in docker. Which is a security threat. Any idea around it?

ogyct
Автор

A little bit of an eccentric guy, but great presentation of a cool technology. Well done.

jmrah
Автор

Is there a reason why he created redis as a GenericContainer but Postgres and Kafka as PostgresContainer and KafkaContainer? Just curious.

Kotik
Автор

how to redirect container logs into host file?

alexandersmirnov
Автор

You know this guy is a Java dev because it took his IDE 21 minutes to load.

SM-oksz
Автор

TestContainers is only good as the image you can use for testing. Like say oracle-xe, ...last time I check you can't create your own user to executed DDL but you need to use "test" user or something, which is pathetic.

USONOFAV
Автор

This should be in russian, this is our programm, our container and our man.

Krazorie
Автор

please stop using spring and spring specific things in your demos.
the world is changing. there is a new generation of framwworks outthere.
in a spring conf go for it. but if you do a testcontainers demo try to keep it neutral
thanks!

IIIxwaveIII
join shbcf.ru