Such an underrated Channel and I wish you to reach million subscribers bro !
@Javatechie3 жыл бұрын
Thanks Ramesh 😊
@hicnar3 жыл бұрын
Yeeeeaaah, but what you're really testing here is technically speaking the web layer of the Spring framework, so you're getting answers to questions like: "if such and such url is hit, will it really go to the right controller and will Spring correctly create the objects (DTOs and path variable args etc.) based on the url and json body if one is on the request. Sure it will! It has its own tests for that. You get very little assurance from such tests if dao/repository layer is not involved. It would be way more beneficial if you were going all the way down to the database. In other words you would be getting answers for questions like: "When you hit such and such url and put such and such payload on the request, such and such object gets created in the mongo embedded database". Also you would write your assertions by either going directly to the database or by calling get methods that return the created/affected objects which are pulled from the database.
@Javatechie3 жыл бұрын
I didn't use mocking here it's just a demo of asset verifier
@rajach66363 жыл бұрын
Was struggling with mockito , you came as savior, recommended your channel to many of my colleagues, such a genuine practical work..kudos Basant, God flourish all love to you and your loved ones ❤
@Javatechie3 жыл бұрын
Thanks Raj 😁
@calintamas75763 жыл бұрын
Thanks again! God bless you for your clean and useful presentation! Keep going with new topics!
@pratishrutipanda64613 жыл бұрын
Most awaited video
@AbhaySingh-ds9et Жыл бұрын
Embedded MongoDb test also required. It will be helpful if you make it.
@aadiraj61263 жыл бұрын
Spring WebFlux got completed? 🤔 Why no more videos on webflux?
@Javatechie3 жыл бұрын
Next video will be webflux , also getting very poor response from viewers when I upload reactive programming
@AkashSingh-gk9zk3 жыл бұрын
@@Javatechie hahha...... reactive is not everyone cup of tea
@ashokbotla9043 жыл бұрын
@@Javatechie Hi Bro, Not like that people are slowly started using Reactive programming in their projects, so it will take time to get views but surely all will start watching your videos. Especially like me. Please don't stop to upload the quality content it will be uneasy to check half content in one place an half content in another place. Your videos are very helpful to clear the interviews even in work environment also clearing more doubts. So Please upload videos. Many People are watching your videos i also recommended to my friends and colleagues. Views will get slowly keep posting on your videos. Thank You for uploading very useful videos.Really Thank you.
@Javatechie3 жыл бұрын
Hi Ashok thank you for let me know the facts. I will continue other part of series soon .
@sammetaram4528 Жыл бұрын
Hi @javatechie if possible could you please show debugging for spring reactive applications in detail
@Javatechie Жыл бұрын
Okay i will
@sammetaram4528 Жыл бұрын
Could you please show to write test cases for private and static methods in spring reactive
@sandeepvishwakarma550910 ай бұрын
I am not able to use existsById method here, how to use it, i am getting error: Error creating bean with name repository
@Javatechie10 ай бұрын
It could be because of a dependency upgrade. Please check for the updated method in documentation itself
@chiragmatta91713 жыл бұрын
Can you please make tutorial on reactive programing with Kafka and ActiveMQ
@SarateanuDima3 жыл бұрын
Why do you use jUnit 4 not 5?
@Javatechie3 жыл бұрын
I just imported as Intelij suggested but we can add junit 5
@paragmangal37963 жыл бұрын
Thanks for wonderful series. Can you please add more videos on - 1. WebClient and then how to right unit test cases for it 2. writing a driver method which invokes 2 or more flux/mono and then which is chained(1st out put will be 2nd calls input). how to achieve reactive behaviour
@shakhzodkamolov4027 Жыл бұрын
Great tutorials, than you so much.
@srinivasulupagadala3 жыл бұрын
Thanks for the video, its simply great!. Can you please show how the real world consumer/subscriber takes events from the Flux publisher ? I got it from your example with delay of 1 sec, but in real world where and how this can be implemented?
@Javatechie3 жыл бұрын
Okay I will
@asashish905 Жыл бұрын
But we should mock the repo and not service AFAIK.
@Javatechie Жыл бұрын
Depends as per your usecase whether you are writing unit testing or integration test
@ogabeksaidov19863 жыл бұрын
Hi sir. Can ytou help me for create webclient in oauth2 using webflux? If you have encountered this problem before, please share with me.
@Javatechie3 жыл бұрын
What error you are getting
@ogabeksaidov19863 жыл бұрын
I don't know how to do that. Do you have a demo project on this?
@narendrakumar88323 жыл бұрын
Please create tutorial for spring mvc from scratch
@sraynitjsr3 жыл бұрын
Awesome ❤️❤️🔥🔥
@harshchidar30742 жыл бұрын
Hi, Please add Junit for 500 Internal Server Error code(OnStatus ) using weblient.This will be great help if you provide.
@HariKrishna-mi6is Жыл бұрын
Rename this video as Unit testing , not integration testing.