Testcontainers - From Zero to Hero. By

  Рет қаралды 77,320

IntelliJ IDEA, a JetBrains IDE

IntelliJ IDEA, a JetBrains IDE

Күн бұрын

Пікірлер: 79
@vitaliiplagov
@vitaliiplagov 3 жыл бұрын
Thanks, JetBrains team for this webinar! It was very good. I like the format of one person as a presenter and a second one is like a student for whom the presenter explains the topic. This format makes the watching more interactive. Hope to see it more in the future!
@marcobehler1395
@marcobehler1395 3 жыл бұрын
Glad you liked it, thanks for the feedback!
@pequetreques
@pequetreques Жыл бұрын
I utterly agree with Vitali. Such an amazing way of explanation! I loved it! 🫶
@moeinsamarehshafeei2884
@moeinsamarehshafeei2884 2 жыл бұрын
I like how it starts with engaging question before self introduction
@abhilpnYT
@abhilpnYT 2 жыл бұрын
Loved the class. One of the best co-ordianted and explained classes. Thank You Marco and Gee for this ..
@asterixcode
@asterixcode Жыл бұрын
Thanks JetBrains for bringing @MarcoCodes. The dude is a freaking great Java/Spring teacher. Thanks Marco!
@MarcoCodes
@MarcoCodes Жыл бұрын
Thanks @Asterixcode! I actually work for JetBrains btw :)
@edwinmcc
@edwinmcc 2 жыл бұрын
Thank you Marco for the wonderful presentation . . I did a small test and learned this using withInitScripts . . . so that I can initialise the database with some predefined set.
@AnthonyGalati
@AnthonyGalati Жыл бұрын
Really appreciate this video and JetBrains continuing them.
@aravindreddymamidi
@aravindreddymamidi Жыл бұрын
Wonderful and thanks for doing this using Spring.
@kpradeep12
@kpradeep12 2 жыл бұрын
Good to know about test containers. Nice talk and thank you
@abdqadr
@abdqadr 2 жыл бұрын
Thank you for this illuminating tutorial. I’m not done watching but I’ve already learnt a lot
@marcbeckers5819
@marcbeckers5819 3 жыл бұрын
Thank you JetBrains and especially Marco for this very interesting session. I'm very excited and will start working on it tomorrow. This is exactly what I need for my integration testing. Keep up the good work.
@marcobehler1395
@marcobehler1395 3 жыл бұрын
Thank you too, you are welcome!
@michaelmihov1651
@michaelmihov1651 2 жыл бұрын
You are wonderful guys. Thanks for making the java world so great!
@ayuobmousa6589
@ayuobmousa6589 2 жыл бұрын
oh my how i miss this ? I am in LOVE 😍
@ke30_
@ke30_ 2 жыл бұрын
Again, extremely valuable video, thank you
@IgorNaumov
@IgorNaumov 3 жыл бұрын
I needed it right now and youtube proposed this video. This is absolutely helpful :)
@intellijidea
@intellijidea 3 жыл бұрын
Glad it was helpful!
@flyLeonardofly
@flyLeonardofly 2 жыл бұрын
Thanks for that video! At some point I found that my internal wtfs per minute were too high for giving testcontainers a try. Too much lurking config hell. But the video worked that out for me and that's great, thank you!
@randoanon
@randoanon Жыл бұрын
Thanks a lot for this session. I am currently stuck with a task that involves TestContainers and Karate. I was lost on where to start but now I feel confident to take it up.
@MaxTelepchuk
@MaxTelepchuk 2 жыл бұрын
Love the video! Thank you for a great session!
@maxdancelife
@maxdancelife 3 жыл бұрын
thank you Marco for excellent presentation.
@bartdart3315
@bartdart3315 3 жыл бұрын
Very good presentation. Biggest gap for me was setting up the db code and data...if TCs have a way of loading the latter from the project it would be really nice to know.
@marcobehler1395
@marcobehler1395 3 жыл бұрын
As mentioned in another comment here, you can either use Spring Boot's schema.sql/data.sql capabilities, or a tool like Flyway/Liquibase.
@payaldas9455
@payaldas9455 3 жыл бұрын
Thanks for this amazing content .
@BrianIvie
@BrianIvie 3 жыл бұрын
Super informative! Thank you for doing this.
@cccc2740
@cccc2740 Жыл бұрын
Thanks a lot. And it means we can do away with lots of mockings we do...thats really great.
@DavidePavan
@DavidePavan 3 жыл бұрын
Absolutely amazing!
@ihor_1995
@ihor_1995 3 жыл бұрын
This video is a priceless! ❤️❤️❤️
@marcobehler1395
@marcobehler1395 3 жыл бұрын
:) Thanks!
@SunilSingh1994
@SunilSingh1994 3 жыл бұрын
Thanks for this very informative session
@vineethjoyson
@vineethjoyson 3 жыл бұрын
I just used testcontainer last week for both kafka and DB. And now google gave this video to me as I searched for that in google.
@ashwaniahuja
@ashwaniahuja 3 жыл бұрын
great learning video
@MrMuntasir66
@MrMuntasir66 Жыл бұрын
man this is simply wow
@Ebrahim013-t4z
@Ebrahim013-t4z 3 жыл бұрын
Literally Amazing tool and amazing tutorial :)) Thanks a lot :))
@jonathanmallia1608
@jonathanmallia1608 3 ай бұрын
I am new to this so pls bear with me. First and foremost, thank you for this great video. Can I please ask how does the container mocking the db about the database schema? If I need a table for example, customers, how would the container know that I need such schema? Is there a way to load the db schema within the docker file itself?
@lifeTechnicolorGuy
@lifeTechnicolorGuy 3 жыл бұрын
Have anyone found @Trisha post about not extending the abstract class?
@clementboret5305
@clementboret5305 3 жыл бұрын
also look for it....
@marcobehler1395
@marcobehler1395 3 жыл бұрын
It'll take some more time for Trisha to get this out.
@alvaroarenasu2
@alvaroarenasu2 3 жыл бұрын
@@marcobehler1395 Any reference to the doc that Trisha read about it?
@mejrihoussem1202
@mejrihoussem1202 3 жыл бұрын
Any updates about this trick?
@stackunderflow5951
@stackunderflow5951 3 жыл бұрын
Also curious about it
@sebastijanp3
@sebastijanp3 2 жыл бұрын
Gee was talking about ExtendWith annotation... So what is the class that you can use with extend with? Is there are docs reference to it or a blog about it?
@kilianagboton4229
@kilianagboton4229 Жыл бұрын
Thank you so much.
@anandjaisy
@anandjaisy 3 жыл бұрын
Thanks for the webinar it was really helpful. @Trisha you were talking about the blog on abstract class extend, please let me know if you have written that blog.
@lifeTechnicolorGuy
@lifeTechnicolorGuy 3 жыл бұрын
have you found it?
@anandjaisy
@anandjaisy 3 жыл бұрын
@@lifeTechnicolorGuy No waiting
@marcobehler1395
@marcobehler1395 3 жыл бұрын
It'll take some more time for Trisha to get this out.
@marekbugiel6893
@marekbugiel6893 3 жыл бұрын
Many thanks!
@swethavarnaau7619
@swethavarnaau7619 3 жыл бұрын
Amazing content
@shashanksharma8254
@shashanksharma8254 Ай бұрын
In the end things became bit odd For Static Test Environments its better to use docker compose instead of reuse true and do multiple things to manage performance * If your tests don't require dynamic container creation and destruction for each test case.
@a.h.m.robiulhasan8975
@a.h.m.robiulhasan8975 3 жыл бұрын
Thank you for the tutorial. I was trying to use testcontainers for HBase. I am able to start HBase container but my client cannot connect to HBase. Is there any example that I can use?
@TheGuroguro12
@TheGuroguro12 2 жыл бұрын
this is very cool
@fredgarcia8407
@fredgarcia8407 2 жыл бұрын
would test containers work on all CI pipelines or only those specified in the testcontainers documentation?
@hendisantika
@hendisantika 2 жыл бұрын
How do we mix testcontainers, mysql & flyway?
@pc9999able
@pc9999able 2 жыл бұрын
i can not use @DynamicPropertySource because i am still using spring 2.1.4, how can i connect spring to randomly created port container?
@AmNotLegend
@AmNotLegend 2 жыл бұрын
How the mechnism that makes the test wait until testContainer booting up? I didn't get it. is it automated?
@intellijidea
@intellijidea 2 жыл бұрын
It's a polling mechanism that TestContainers implemented under the hood.
@tejas7041
@tejas7041 3 жыл бұрын
This was very informative and helpful but I got one question - How do we skip executing init script on reusable container? Like while using reusable container with init script, it runs the script every time the test start even though same DB is being reused. In init script I have create and insert statements so every time I run the test, it tries to execute the sql statements and fails with table already exists.
@marcobehler1395
@marcobehler1395 3 жыл бұрын
The scripts, i.e. schema.sql etc. have nothing to do with TestContainers, i.e. it's a Spring Boot specific database mechanism. So, either you rewrite your SQL statements like "create table if not exists" or use a tool like Flyway or Liquibase which will essentially solve this problem for you.
@tejas7041
@tejas7041 3 жыл бұрын
@@marcobehler1395 got it, thank you!
@cocoychang76
@cocoychang76 3 жыл бұрын
thanks that was awesome
@USONOFAV
@USONOFAV 3 жыл бұрын
How bout adding a Runtime shutdown hook and stop the container there.
@draganmijatovic8503
@draganmijatovic8503 3 жыл бұрын
Can you put repo url in description 😇
@anandjaisy
@anandjaisy 3 жыл бұрын
Can we also have a session for end-end testing for microservices with the test container?
@marcobehler1395
@marcobehler1395 3 жыл бұрын
Can you give a more specific example? How/where do you store your session state, what is your exact use case?
@anandjaisy
@anandjaisy 3 жыл бұрын
@@marcobehler1395 I was taking about another webinar on end to end testing with test container. In this webinar we had integration testing, can you please host another webinar to perform end-end testing among microservices
@ayuobmousa6589
@ayuobmousa6589 3 жыл бұрын
thnx that was awesome.
@cccc2740
@cccc2740 Жыл бұрын
Hey, I dont get it. How is test working without any test data populated?
@Greatfulone
@Greatfulone 3 жыл бұрын
I am a beginner developer and would love to see a list of how test containers adds to just configuring a DB image in Docker. Is it the JUNIT integration?
@marcobehler1395
@marcobehler1395 3 жыл бұрын
I'm not sure I quite understood the question. Could you post it again?
@Greatfulone
@Greatfulone 3 жыл бұрын
@@marcobehler1395 Thank you so much for the reply. I thought about this question and I believe it stems from me not having done any testing against a database instance yet. Please disregard. I meant to remove it. You did mention some things in your talk, and I believe I just need to use it. I will reach out if I have any questions. Thank you so much. It was a very informative session.
@StefanSchade721229
@StefanSchade721229 3 жыл бұрын
Great
@AmNotLegend
@AmNotLegend 2 жыл бұрын
you forgot the github link
@66tens41
@66tens41 Жыл бұрын
Good video! But trisha is very irrelevant for this video
@toomaspark862
@toomaspark862 2 жыл бұрын
@AfterAll container.stop ??
@kuldipbajwa_
@kuldipbajwa_ 2 жыл бұрын
thanks for this.... keep getting ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper - Table 'test.STUDENTS' doesn't exist
Spring Boot testing: Zero to Hero by Daniel Garnier-Moiroux
2:42:32
Mastering Testcontainers by Oleg Šelajev
52:24
Devoxx
Рет қаралды 10 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Testcontainers have forever changed the way I write tests
12:11
Dreams of Code
Рет қаралды 125 М.
The Best Way To Use Docker For Integration Testing In .NET
19:34
Milan Jovanović
Рет қаралды 39 М.
Spring Boot Testcontainers - Integration Testing made easy!
33:31
JAVA DTO Pattern Tutorial | Simplify Your Code
19:12
Amigoscode
Рет қаралды 220 М.
Evolution of software architecture with the co-creator of UML (Grady Booch)
1:30:43
The Pragmatic Engineer
Рет қаралды 102 М.
Introduction to Testcontainers with JUnit 5 and Spring Boot
14:17
Philip Riecks
Рет қаралды 28 М.
The intro to Docker I wish I had when I started
18:27
typecraft
Рет қаралды 369 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН