The method 'containsSwearWords' which is used for testing is not originally present in the original Reddit Clone tutorial, I added this method only for the sake of this tutorial, you can find the implementation of this method in the below link: www.github.com/SaiUpadhyayula/spring-boot-testing-reddit-clone/tree/master/src%2Fmain%2Fjava%2Fcom%2Fprogramming%2Ftechie%2Fspringredditclone%2Fservice%2FCommentService.java
I loved your tutorials ❤️. Would like you to create playlist on "how to design and architect any project", covering class diagrams, oops concepts, which design pattern to choose according to requirement, loose coupling etc.
Your tutorial content and explanation deserve more views and likes. Keep going brother lots of love from your subscriber. If possible please add hash tags for your tutorials.
Hi, the mockito code defined here with simple use cases is great. However i have one doubt. In post service there is a method getPostsBySubreddit(long id) in finding it hard to write an unit test for this method due to the presence of streams and method reference. Possible to help me with that one..?
@BeforeEach executes the logic before each test, where as Autowired will just inject the dependency at the starting of the class, also we are not using the full spring context in this case, so that's not an option
I did not add it in the original source code as this method was added only for the sake of this tutorial, you can find it in the source code which contains the tests. www.github.com/SaiUpadhyayula/spring-boot-testing-reddit-clone/tree/master/src%2Fmain%2Fjava%2Fcom%2Fprogramming%2Ftechie%2Fspringredditclone%2Fservice%2FCommentService.java
The method 'containsSwearWords' which is used for testing is not originally present in the original Reddit Clone tutorial, I added this method only for the sake of this tutorial, you can find the implementation of this method in the below link:
www.github.com/SaiUpadhyayula/spring-boot-testing-reddit-clone/tree/master/src%2Fmain%2Fjava%2Fcom%2Fprogramming%2Ftechie%2Fspringredditclone%2Fservice%2FCommentService.java
I loved your tutorials ❤️. Would like you to create playlist on "how to design and architect any project", covering class diagrams, oops concepts, which design pattern to choose according to requirement, loose coupling etc.
after 2-3 days of reading/watching about test
Finally, this helps.
Thank you very match
and live long
Best testing video I have seen. Concise and to the point.
Keep going, your channel is underrated for what you are offering and it deserve to grow
Thank you 😊
Absolutely amazing, thanks for all the work you put in your videos!
the best of junit 5 tutorial i have seen , good luck teacher
ExtendWith is junit5 and BeforeEach is junit4 😮. Anyhow, very good video!! subscribed!!
Your vocab and diction is lit 🔥.
Thank very much you for the videos. Hello from Russia.
Your tutorial content and explanation deserve more views and likes. Keep going brother lots of love from your subscriber. If possible please add hash tags for your tutorials.
Looking forward to the next one :) , really appreciate your work.
The next tutorial is out - ua-cam.com/video/9UmwBfZ98U8/v-deo.html
:)
This is so amazing tutorial. Thanks man.
Nice tutorial and good examples to explain mockito
very nice explanation and flow
Love it
Thank you so much, this video is very simple and easy to understand.
Great video! Like the shortcuts for IntelliJ.
Thank you 😊
Thank you so much
Subscribed 👊🏻🔥
Excellent video.
Thank You.
Great Job for great Man !
after this series, you should do a simple e-commerce type application. Btw, still love your videos. Excellent work.
Thanks, Nate. Plan is to build a UA-cam Clone Tutorial with react after this series :)
View the video and implementation = DONE
Can wait for the next one ...
Thanks you for sharing :-)
That's great :)
Please provide deep knowledge in testing using junit n mocito.. i dont see good playlist in youtube related to same
Sure :)
Nice video, thanks!
You're welcome Navjot
I am having finding parent in the repo so my project cannot build. Can someone please direct me, thanks
Hi, the mockito code defined here with simple use cases is great. However i have one doubt. In post service there is a method getPostsBySubreddit(long id) in finding it hard to write an unit test for this method due to the presence of streams and method reference. Possible to help me with that one..?
The main problem i face is with mocking streams and maper.maptodto static reference
Hi! thanks for the tutorial, I had a question, in the last step , instead of using @BeforeEach method, we could have done @Autowired as well right?
@BeforeEach executes the logic before each test, where as Autowired will just inject the dependency at the starting of the class, also we are not using the full spring context in this case, so that's not an option
Thank you :) nd make video on integration testing too
Sure :)
You should speak even faster so that we can learn even faster 🤪
u r awosome dear but please use white theme ...dont use dark theme
Please can u tell how to fix null pointer exception and no such element exception in junit
hi, its hard to understand the context of the issue without looking at the code.
Can you please tell me what's the name of the font you're using?
i am using the default intellij font with gradianto theme
Thanks
Don't stop
the method 'containsSwearWords' doesn't exist in the source code? (3:17min)
I did not add it in the original source code as this method was added only for the sake of this tutorial, you can find it in the source code which contains the tests.
www.github.com/SaiUpadhyayula/spring-boot-testing-reddit-clone/tree/master/src%2Fmain%2Fjava%2Fcom%2Fprogramming%2Ftechie%2Fspringredditclone%2Fservice%2FCommentService.java
@@ProgrammingTechie great, thank you :)
@@ProgrammingTechie Please pin this
@@dims95 done
what IDEA themes U have :)
It's Gradianto :)
great video, tnx. No 2?
Here it is - ua-cam.com/video/9UmwBfZ98U8/v-deo.html
:)
which theme use?
I am using Gradianto theme
@@ProgrammingTechie Thank´s