Contract Testing using Pact | vodQA Chennai 2020

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024
  • Contract tests focus on the messages that flow between a consumer and provider. It would ensure that the consumer and provider had a shared and accurate understanding of the request and response required to create an order.
  • НаукаНаука

Комментарии • 19

  • @SritamKumar-w7m
    @SritamKumar-w7m 9 часов назад

    do you have any course that would be very helpful

  • @saravanansankaranarayanan8898
    @saravanansankaranarayanan8898 2 года назад

    Wonderfully session. I was confused with pact broker verification against actual provider as mocking consumer side calls. Now clear. It is just verifying the contract that is produced with the help of mock provider against the actual provider.

  • @user-fp6tb3wg5f
    @user-fp6tb3wg5f 5 месяцев назад

    useful presentation....especially for someone new to contract testing

  • @rahilsharma2298
    @rahilsharma2298 3 года назад +1

    Great presentation..!! Thanks :)

  • @nageshphaniraj6092
    @nageshphaniraj6092 3 года назад +1

    Wonderful Presentation. Thank you.

  • @poonamsingh3776
    @poonamsingh3776 3 года назад +2

    Liked the presentation. Could you please share a video describing step-by-step creating the contract test project, that is going to be very helpful for beginners?

    • @akhilghatiki6553
      @akhilghatiki6553 3 года назад

      You can find the code used in the talk in this link : github.com/akhil-ghatiki/thoughtworks-vodqa-contract-testing
      Thanks for the input. We have not done any such video which describes step-by-step creation. Will consider this.

  • @madhurajsingh6558
    @madhurajsingh6558 2 года назад

    Great work

  • @gr4cetube
    @gr4cetube 3 года назад +1

    On the slide at 6:00 looks like integration testing happens within the same team. I though contract testing was providing an alternative to integration testing so I was expecting it to see it where end to end testing is in that slides, i.e. between the two teams

    • @saravanansankaranarayanan8898
      @saravanansankaranarayanan8898 2 года назад

      Contract testing helps integration testing to be quick and without any last minute surprise. Integration testing mainly focus on the functionality with the hope that basic contract testing was taken care by pact testing.

  • @mrtworld9670
    @mrtworld9670 3 года назад +1

    Could you share github repository?

  • @vinodkomeershetty1583
    @vinodkomeershetty1583 3 года назад

    Possible can you share the presentation please

  • @MaheshSharma-db7xp
    @MaheshSharma-db7xp 3 года назад +1

    can you please share git repo for this?

  • @AA-rg4sv
    @AA-rg4sv 3 года назад

    Good Work guys.. Can you advise how to contract test Kafaka producer? Thanks

    • @akhilghatiki6553
      @akhilghatiki6553 3 года назад +1

      No, you can't do the contract testing for Kafka producer. A producer service will produce the payloads to the kafka broker. Here, we don't have control over the contract which Kafka uses. More over, we use client SDKs which own the APIs we use to either produce or consume the payloads. The contract will be intact between these APIs and the kafka broker. So, you as a developer need not worry about the contract between your producer and the kafka broker. To be more specific, the contract tests if any between the client SDks and the broker will be taken care by the team who actually developed Kafka. And, you can have integration tests between your producer and the kafka broker. Take a look at embedded kafka for it. Its library that provides an in memory kafka instance to testing.

    • @AA-rg4sv
      @AA-rg4sv 2 года назад

      @@akhilghatiki6553 Do we have a github link for above demo project? Thanks

  • @shwetaduble5887
    @shwetaduble5887 3 года назад +1

    Can give us GitHub link so we can walk through entire code

  • @niranjanveluru5144
    @niranjanveluru5144 2 года назад

    Hi, Thanks for a great video to understand contract testing. I tried to follow the steps after cloning the git repo but endup with an error at the last step while running ./gradlew contractTest
    java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x6f64fb74) cannot access class com.sun.tools.javac.processing.JavacProc
    essingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x6f64fb74
    Could you please help me ?

    • @niranjanveluru5144
      @niranjanveluru5144 2 года назад

      Never mind i have solved it by upgrading lombok to 1.18.20, thanks