Mockito Annotations - @Mock, @Runwith, @InjectMocks and @Captor

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 24

  • @RakhiDhavale
    @RakhiDhavale 5 ปีที่แล้ว +5

    Your one of the best teachers ! God Bless You ! I really love watching and practicing your tutorials.

    • @suttonandre7784
      @suttonandre7784 3 ปีที่แล้ว

      You all prolly dont care but does someone know a trick to get back into an instagram account?
      I stupidly lost my account password. I love any help you can offer me!

    • @suttonkenzo5851
      @suttonkenzo5851 3 ปีที่แล้ว

      @Sutton Andre instablaster =)

    • @suttonandre7784
      @suttonandre7784 3 ปีที่แล้ว

      @Sutton Kenzo I really appreciate your reply. I found the site through google and I'm in the hacking process atm.
      I see it takes a while so I will get back to you later with my results.

    • @suttonandre7784
      @suttonandre7784 3 ปีที่แล้ว

      @Sutton Kenzo It did the trick and I finally got access to my account again. I am so happy:D
      Thank you so much, you saved my ass !

    • @suttonkenzo5851
      @suttonkenzo5851 3 ปีที่แล้ว

      @Sutton Andre no problem :D

  • @feeroz4u
    @feeroz4u 5 ปีที่แล้ว +3

    The explanation for @Captor annotation was skipped in the video. I could not understand the actual use and implementation of this annotation. Please revisit @Captor in detail.

  • @sahilarora2506
    @sahilarora2506 4 ปีที่แล้ว +2

    Very well explanation, but now a days Mockito has been improved a lot and new features has been added like inOrder etc. Can u pls make another video to cover all the latest features of it. Thanks in Advance and keep spreading the knowledge.

  • @pramodhsam
    @pramodhsam 7 ปีที่แล้ว +7

    Many videos are missing i am not able to find videos
    Step 07 : How to verify calls on a mock? Verify how many times a method is called. We will add deleteTodo method to the TodoService.
    Step 08 : How to capture an argument which is passed to a mock?
    Step 11 : JUnit Rules. Using MockitoJUnit.rule() instead of @RunWith(MockitoJUnitRunner.class).
    Step 16 : Using PowerMock and Mockito to invoke a private Method.
    Step 17 : Using PowerMock and Mockito to mock a constructor.
    Step 18 : Good Unit Tests.

  • @sarithamittapelly9946
    @sarithamittapelly9946 4 ปีที่แล้ว

    good tutorial and detailed explanation even for beginners.

  • @alexhong794
    @alexhong794 3 ปีที่แล้ว

    thank you so much, learned a lot, better than my professor.

  • @eduardmaralyan1998
    @eduardmaralyan1998 8 ปีที่แล้ว +1

    Keep posting this videos,they are very useful

  • @anantababa
    @anantababa 4 ปีที่แล้ว

    Really Gr8 teacher , I like it , Did you provide any one to one training in java and Spring ?

  • @ganeshparida1780
    @ganeshparida1780 5 ปีที่แล้ว +1

    what is the use of argument capture

  • @ubaidshahid5123
    @ubaidshahid5123 4 ปีที่แล้ว

    if you are using Annotations, then how will you inject the actual implementation class object?

  • @indranilgoswami1500
    @indranilgoswami1500 7 ปีที่แล้ว

    Excellent video . Thanks a lot .

  • @johnnyjohnny7216
    @johnnyjohnny7216 5 ปีที่แล้ว

    Super explanation .

  • @AhsanAli-vz6mg
    @AhsanAli-vz6mg 4 ปีที่แล้ว

    thanks

  • @chijiokebility2452
    @chijiokebility2452 7 ปีที่แล้ว +1

    Good and well explained

  • @sanjaybharatiya5074
    @sanjaybharatiya5074 7 ปีที่แล้ว

    Great tutorial....

  • @helloworldseries9105
    @helloworldseries9105 7 ปีที่แล้ว

    Nice video. May I know, which mic and which recording editor, do you use?
    Quality is pretty good.

    • @helloworldseries9105
      @helloworldseries9105 7 ปีที่แล้ว

      Good to know...thanks

    • @pramodhsam
      @pramodhsam 7 ปีที่แล้ว

      Many videos are missing i am not able to find videos
      Step 07 : How to verify calls on a mock? Verify how many times a method is called. We will add deleteTodo method to the TodoService.
      Step 08 : How to capture an argument which is passed to a mock?
      Step 11 : JUnit Rules. Using MockitoJUnit.rule() instead of @RunWith(MockitoJUnitRunner.class).
      Step 16 : Using PowerMock and Mockito to invoke a private Method.
      Step 17 : Using PowerMock and Mockito to mock a constructor.
      Step 18 : Good Unit Tests.

  • @rahulg
    @rahulg 6 ปีที่แล้ว +1

    For first 2 minutes, it was difficult to follow. overall good