Testcontainers - From Zero to Hero. By

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 78

  • @vitaliiplagov
    @vitaliiplagov 3 роки тому +35

    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 роки тому +6

      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 роки тому +6

    Loved the class. One of the best co-ordianted and explained classes. Thank You Marco and Gee for this ..

  • @asterixcode
    @asterixcode Рік тому +1

    Thanks JetBrains for bringing @MarcoCodes. The dude is a freaking great Java/Spring teacher. Thanks Marco!

    • @MarcoCodes
      @MarcoCodes Рік тому +2

      Thanks @Asterixcode! I actually work for JetBrains btw :)

  • @AnthonyGalati
    @AnthonyGalati Рік тому

    Really appreciate this video and JetBrains continuing them.

  • @edwinmcc
    @edwinmcc 2 роки тому +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.

  • @michaelmihov1651
    @michaelmihov1651 2 роки тому +2

    You are wonderful guys. Thanks for making the java world so great!

  • @aravindreddymamidi
    @aravindreddymamidi Рік тому

    Wonderful and thanks for doing this using Spring.

  • @ayuobmousa6589
    @ayuobmousa6589 2 роки тому

    oh my how i miss this ? I am in LOVE 😍

  • @marcbeckers5819
    @marcbeckers5819 3 роки тому +2

    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.

  • @abdqadr
    @abdqadr 2 роки тому +1

    Thank you for this illuminating tutorial. I’m not done watching but I’ve already learnt a lot

  • @ke30_
    @ke30_ 2 роки тому +1

    Again, extremely valuable video, thank you

  • @IgorNaumov
    @IgorNaumov 3 роки тому +2

    I needed it right now and youtube proposed this video. This is absolutely helpful :)

  • @kpradeep12
    @kpradeep12 2 роки тому

    Good to know about test containers. Nice talk and thank you

  • @MaxTelepchuk
    @MaxTelepchuk 2 роки тому +1

    Love the video! Thank you for a great session!

  • @BrianIvie
    @BrianIvie 3 роки тому +2

    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.

  • @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.

  • @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!

  • @maxdancelife
    @maxdancelife 2 роки тому

    thank you Marco for excellent presentation.

  • @DavidePavan
    @DavidePavan 3 роки тому +2

    Absolutely amazing!

  • @payaldas9455
    @payaldas9455 3 роки тому +1

    Thanks for this amazing content .

  • @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.

  • @ihor_1995
    @ihor_1995 3 роки тому +3

    This video is a priceless! ❤️❤️❤️

  • @bartdart3315
    @bartdart3315 3 роки тому +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 роки тому +2

      As mentioned in another comment here, you can either use Spring Boot's schema.sql/data.sql capabilities, or a tool like Flyway/Liquibase.

  • @MrMuntasir66
    @MrMuntasir66 Рік тому

    man this is simply wow

  • @Ebrahim013-t4z
    @Ebrahim013-t4z 3 роки тому

    Literally Amazing tool and amazing tutorial :))
    Thanks a lot :))

  • @SunilSingh1994
    @SunilSingh1994 3 роки тому

    Thanks for this very informative session

  • @kilianagboton4229
    @kilianagboton4229 Рік тому

    Thank you so much.

  • @lifeTechnicolorGuy
    @lifeTechnicolorGuy 3 роки тому +4

    Have anyone found @Trisha post about not extending the abstract class?

  • @jonathanmallia1608
    @jonathanmallia1608 Місяць тому

    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?

  • @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?

  • @hendisantika
    @hendisantika 2 роки тому

    How do we mix testcontainers, mysql & flyway?

  • @fredgarcia8407
    @fredgarcia8407 2 роки тому

    would test containers work on all CI pipelines or only those specified in the testcontainers documentation?

  • @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?

  • @ashwaniahuja
    @ashwaniahuja 3 роки тому

    great learning video

  • @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?

  • @marekbugiel6893
    @marekbugiel6893 3 роки тому

    Many thanks!

  • @anandjaisy
    @anandjaisy 3 роки тому +1

    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.

  • @draganmijatovic8503
    @draganmijatovic8503 3 роки тому

    Can you put repo url in description 😇

  • @TheGuroguro12
    @TheGuroguro12 2 роки тому

    this is very cool

  • @USONOFAV
    @USONOFAV 3 роки тому

    How bout adding a Runtime shutdown hook and stop the container there.

  • @swethavarnaau7619
    @swethavarnaau7619 3 роки тому

    Amazing content

  • @cccc2740
    @cccc2740 Рік тому

    Hey, I dont get it. How is test working without any test data populated?

  • @cocoychang76
    @cocoychang76 3 роки тому

    thanks that was awesome

  • @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.

  • @ayuobmousa6589
    @ayuobmousa6589 3 роки тому

    thnx that was awesome.

  • @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

  • @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 роки тому +1

      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.

  • @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 роки тому +1

      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!

  • @StefanSchade721229
    @StefanSchade721229 3 роки тому

    Great

  • @AmNotLegend
    @AmNotLegend 2 роки тому

    you forgot the github link

  • @66tens41
    @66tens41 Рік тому +1

    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