Spring Boot Unit Testing - Service LayerLinkedin: / teddy-smith-015ba61a3 Website: www.teddysmith.ioGithub: github.com/teddysmithdev
Thanks a lot. It very helped me
Great video Teddy! Thanks so much
No prob Jasper
confused..... not sure some steps are needed actually ..!
Thanks mfwethu, this helped me a lot
didnt understand the delete, what does the assertall do?
he told that, watch it again.
@3:41, pokemon wasn't actually updated right? we just "find" it and "save" it
Yea... Bit pointless
@@1komentator its not pointless, you are testing the service layer, so you mock the repository method and only run the service function logic.
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.
assertAll() import: import static org.junit.jupiter.api.Assertions.assertAll;
for some reason my intellij crashes when i Alt+Enter this import... thanks tho
Пікірлер: 14
Thanks a lot. It very helped me
Great video Teddy! Thanks so much
@TeddySmithDev
4 ай бұрын
No prob Jasper
confused..... not sure some steps are needed actually ..!
Thanks mfwethu, this helped me a lot
didnt understand the delete, what does the assertall do?
@jasper5016
4 ай бұрын
he told that, watch it again.
@3:41, pokemon wasn't actually updated right? we just "find" it and "save" it
@1komentator
7 ай бұрын
Yea... Bit pointless
@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.
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.
assertAll() import: import static org.junit.jupiter.api.Assertions.assertAll;
@goshochernii
3 ай бұрын
for some reason my intellij crashes when i Alt+Enter this import... thanks tho