Microservices: Contract Testing Using PACT

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

КОМЕНТАРІ • 30

  • @ShravanRai100
    @ShravanRai100 3 місяці тому +1

    I find this video better than the official pact video. nicely explained.good job guys !

  • @sandeepchopra4854
    @sandeepchopra4854 8 місяців тому +2

    very nice articulation of the concepts and explained the implementation in a very simplified way!

  • @ayanSaha13291
    @ayanSaha13291 5 місяців тому

    Very informative discussion! Thanks for the upload.

  • @AA-rg4sv
    @AA-rg4sv 2 роки тому +4

    Hi , Do you have anything on recently launched bi-directional contract testing?

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

    awsome, could you also create a tutorial on how to use pact ? and what does those annotations means ? It will be very helpful.

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

    Unfortunately the sound quality is terrible.

  • @ganeshumasare914
    @ganeshumasare914 4 місяці тому

    Provider test are explained incorrectly. ideally Provider contract test should be executed with Actual Provider service not mocked provider service.
    We can mock the other dependent Services of targeted Provider so that Targeted Provider can be tested in Isolation.
    This seems like everything is mocked and we are not even testing anything except working of pact

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

    I tried to implement the way you did, but on the provider side the actual service is getting called instead of the mock service.

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

      Hi Midhun Nair, Please refer to the Github repository mentioned in the description of this video. I hope that would help.

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

    Good information.. Thanks for sharing it.

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

    Very informative. Thanks

  • @Walery1024
    @Walery1024 11 місяців тому

    JetBrains' IntelliJ IDEA is what the project was opened with....

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

    Good one thanks

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

    Hi.. Thanks for such a informative video..I need to understand here, as part of consumer side we are only setting up expected response through Mock test (in your case fields like brand, name and price )so here we will be testing the provider whether it will match the response that we have added through Mock service. So my question is if I want to test a microservice, I should always keep that as a provider and not consumer??

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

      Not necessarily, here the consumer had unit tests too after which only the contract tests are run. But ideally the if service A calls/depends on service B then here consumer is A and B is provider

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

      It's a mutual contract, so as a consumer I know what I want to consume, and as a provider I should adhere to the contract.

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

    can we publish a contract without using mvn command(i was working on a maven project). i wanted to automate it without usinf commands through terminal

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

    Good stuff... very helpful!!

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

    You're showing pre-written code.
    Nothing step-by-step.

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

    Thankx!!

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

    am not seeing ProductPactTests skipping verification results not sure why "2022-04-25 21:33:23.513 WARN 13848 --- [ main] a.c.d.p.p.junit.InteractionRunner : Skipping publishing of verification results (pact.verifier.publishResults is not set to 'true') can you please help debug?

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

      below properties are there in the build.gradle file systemProperty 'pact.verifier.publishResults', 'true'
      useJUnitPlatform()

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

    Very informative. Thanks