Spring Boot Unit Testing With Mockito - Service Layer

Тәжірибелік нұсқаулар және стиль

Spring Boot Unit Testing - Service Layer
Linkedin: / teddy-smith-015ba61a3
Website: www.teddysmith.io
Github: github.com/teddysmithdev

Пікірлер: 14

  • @user-ss9ll3hm4u
    @user-ss9ll3hm4u Жыл бұрын

    Thanks a lot. It very helped me

  • @jasper5016
    @jasper50164 ай бұрын

    Great video Teddy! Thanks so much

  • @TeddySmithDev

    @TeddySmithDev

    4 ай бұрын

    No prob Jasper

  • @lasithaudara1174
    @lasithaudara117410 ай бұрын

    confused..... not sure some steps are needed actually ..!

  • @GMelization
    @GMelizationАй бұрын

    Thanks mfwethu, this helped me a lot

  • @adeleyeadedolapo1145
    @adeleyeadedolapo1145 Жыл бұрын

    didnt understand the delete, what does the assertall do?

  • @jasper5016

    @jasper5016

    4 ай бұрын

    he told that, watch it again.

  • @SomeoneinYouTube-cm3eo
    @SomeoneinYouTube-cm3eo Жыл бұрын

    @3:41, pokemon wasn't actually updated right? we just "find" it and "save" it

  • @1komentator

    @1komentator

    7 ай бұрын

    Yea... Bit pointless

  • @rafaelzinhow97

    @rafaelzinhow97

    2 ай бұрын

    @@1komentator its not pointless, you are testing the service layer, so you mock the repository method and only run the service function logic.

  • @user-zw4ki9tw4e
    @user-zw4ki9tw4e18 күн бұрын

    1) I've never seen anyone set up tests the way you do. 2) Slow down and stay focused. I couldn't even get through ten minute of this.

  • @SomeoneinYouTube-cm3eo
    @SomeoneinYouTube-cm3eo Жыл бұрын

    assertAll() import: import static org.junit.jupiter.api.Assertions.assertAll;

  • @goshochernii

    @goshochernii

    3 ай бұрын

    for some reason my intellij crashes when i Alt+Enter this import... thanks tho

Келесі