Impressive! I'm a Tester who is working with Developers to improve their Unit Testing and code quality. I've been tasked to put together some training materials and I'm going to include this. The video hits on so many things, but makes them very clear and concise in definition and explanation. You show both the power & advantages of the tool(s) you use and for Unit Testing itself. So glad I found this.
I wish I had found this earlier !! I spent quite a lot of time figuring out different tutorials for JUnit 5 and I ended up not writing JUnits for my Repository interfaces but going through this video has made me realize the simplest of ways to test Repositories by setting up H2 in memory database. Perfectly narrated and at a good pace. Keep up the good work !!
Love it. You're a great teacher. I'm a Java boot camp student and I really appreciate seeing how a professional dev does it vs how I'm taught. Learning so many great tricks thanks to you!
Thank you! The topic of testing is often neglected when teaching programming. It makes sense to learn this very early and get into the habit of writing tests for your code. As you said, there is no way around this in professional software development.
This tutorial is neat, as usual. Just a humble remark : @29:00, i think the variable expected should be named "result" (or "actual") to be coherent with what you nicely explained regarding BDD, since it's in the when part of the given-when-then methodology. Else, the assert is a little bit confusing: assertThat(expected).isTrue(); Should be: assertThat(result).isTrue(); Thanks a lot for everything you bring to the community.
Oh God, your explanation is so good and simple. I was able to understand what happen behind the scene of the testing and especially in the debug part. This is my first time learning the JUnit testing, thankfully you are the first that pop up in the search engine :D. Thank you for your teaching sir, sadly I cannot afford your course in software testing, I wish I had money to afford for :). But the good thing I was able to learn in this video. Please don't stop creating a video like this, thank you 🙇♂
OMG i am so glad I found you. You have such an amazing way of explaining things. You are truly a natural at this. Your voice and teaching style is so soothing, I feel like it's my close friend explaining this complicated stuff to me. You are amazing, God bless! I can't thank you enough!
thanks so much sir I have been working as backend engineer for 5 months I was given a task to write unit test and integration test. this give me great star. I am going ahead and enroll on your course for integration testing. thanks so much.
Great Tutorial Thank you, I am learning from your course after watching other JUnit tutorial , thank you for showing a proper real world example. feeling more confident now, Looking forward to explore videos from your channel Just for others that are following here are things I had to do: - got error complaining about lambok not getting access to a class, update the version, I updated Spring boot to latest version in the pom.xml file - spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_DELAY=-1 this is the url path that worked for me
Hello Nelson Thank you so much for your professionnalisme, infact I so much enjoyed going through this testing and mocking. I am thinking of going through it once more to grasp the essentials,frankly speaking you are excellent in the ways you make things look simpler indah
Good evening dear friend I am a Moroccan developer in java spribg boot and I love your tutorials. I have a request please if you can make a video on spring kafka and thank you in advance
FYI the contextLoads test is not pointless at all, it verifies that the application is bootstrapped correctly and there is no exception raised by the application context. If you have missing configuration properties or some (auto)wiring issues that test would have caught it.
h2 in-memory database for tests can leak some features that you use in application db (postgres or mysql) so it's handy to use test containers, looking forward to testcontainers tutorial :)
Hey man, your vidieos are really amazing that I have to admit :)) If you have time, please compose socket videos. You have a good explaining so I think you can give the best anwser how the socket works. Thank you and have a good day!
Thank you for you very useful videos and above all for your very very clear English language: this is a great added value for us followers not having English as mother tongue.
Download Diffblue to auto generate unit and integration tests www.diffblue.com/community-edition/download/promo?code=amigoscode Best selling courses ► Spring Full Stack and React Course WITH 30% OFF - amigoscode.com/p/full-stack-spring-boot-react/?product_id=2963573&coupon_code=FULLSTACK30 ► Software Testing Course - amigoscode.com/p/software-testing ► Repo to follow along: github.com/amigoscode/spring-boot-fullstack-professional/
Great course, thanks! Before watching the video, I got a little familiar with the theory of integration testing and this made it easier to understand the topic. Took a little effort to write a test to check for the possibility of deletion, it was great! I will watch your content in the future peace!
Salam from USA. Brother, we spoke before about Muslims whom may know Tensorflow and Custom Layers. Please dedicate some time to this. Very Important for us Muslims to learn to code and predict in Tensorflow and Custom Layers w/ Keras.
Impressive! I'm a Tester who is working with Developers to improve their Unit Testing and code quality. I've been tasked to put together some training materials and I'm going to include this. The video hits on so many things, but makes them very clear and concise in definition and explanation. You show both the power & advantages of the tool(s) you use and for Unit Testing itself. So glad I found this.
I wish I had found this earlier !! I spent quite a lot of time figuring out different tutorials for JUnit 5 and I ended up not writing JUnits for my Repository interfaces but going through this video has made me realize the simplest of ways to test Repositories by setting up H2 in memory database. Perfectly narrated and at a good pace. Keep up the good work !!
cant you use rollbacks etc?
I was just looking for this topic and this appears on my recomendations, how convinient
It's the third time it happened to me this week
I am a college student studying in Korea. All of your lectures are very, very good.
Yes please need a kafka tutorial as well, because now a days kafka is in demand. thanks in advance and for every tutorial, they are really helpful.
Love it. You're a great teacher. I'm a Java boot camp student and I really appreciate seeing how a professional dev does it vs how I'm taught. Learning so many great tricks thanks to you!
Thank you! The topic of testing is often neglected when teaching programming. It makes sense to learn this very early and get into the habit of writing tests for your code. As you said, there is no way around this in professional software development.
Thank you, I'm new in Java ecosystem so your courses are very valuable.
جزاك الله خيرا
Wa alaikum salam wr. wb. I never doing any test before. And now in my new company, I have to doing test. Very helpful. Thank you for sharing.
Excellent tutorial!
Your technical and educational skills 👨🎓 match your kindness and goodness.
Keep it up! 💪
Saludos desde Uruguay mi amigo 💙🤍
A Symfony 4 development environment with Docker and Docker-compose
th-cam.com/video/2t_R-F2Z7xs/w-d-xo.html
This tutorial is neat, as usual.
Just a humble remark : @29:00, i think the variable expected should be named "result" (or "actual") to be coherent with what you nicely explained regarding BDD, since it's in the when part of the given-when-then methodology.
Else, the assert is a little bit confusing: assertThat(expected).isTrue();
Should be: assertThat(result).isTrue();
Thanks a lot for everything you bring to the community.
Perhaps one of the few videos that actually show an integration test rather than the usual theoretical approach.
Masha Allah keep it up.
These video finally made me understand what the hell what all this testing thing all about, loved it
Oh God, your explanation is so good and simple. I was able to understand what happen behind the scene of the testing and especially in the debug part. This is my first time learning the JUnit testing, thankfully you are the first that pop up in the search engine :D.
Thank you for your teaching sir, sadly I cannot afford your course in software testing, I wish I had money to afford for :). But the good thing I was able to learn in this video. Please don't stop creating a video like this, thank you 🙇♂
OMG i am so glad I found you. You have such an amazing way of explaining things. You are truly a natural at this. Your voice and teaching style is so soothing, I feel like it's my close friend explaining this complicated stuff to me. You are amazing, God bless! I can't thank you enough!
thanks so much sir
I have been working as backend engineer for 5 months
I was given a task to write unit test and integration test.
this give me great star.
I am going ahead and enroll on your course for integration testing.
thanks so much.
4:20 In the UML Diagram the integration part should be StudentController.
Yeah, that is confusing. I was amazed for few seconds.
Thanks for confirming I was also confused :)
You're right
You have excellent teaching skills, thanks for your effort.
This was the second video course I wacthed from this channel.
Thank you so much for the video quality and the explanations.
Really good!
I had a lot of questions while watching this video, but you always answered on my questions a few minutes later, you are awesome dude.
For me, one of the best teachers all around.. greetings from Spain Amigo!!
Great Tutorial Thank you, I am learning from your course after watching other JUnit tutorial , thank you for showing a proper real world example. feeling more confident now, Looking forward to explore videos from your channel
Just for others that are following here are things I had to do:
- got error complaining about lambok not getting access to a class, update the version, I updated Spring boot to latest version in the pom.xml file
- spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_DELAY=-1
this is the url path that worked for me
Hello Nelson
Thank you so much for your professionnalisme, infact I so much enjoyed going through this testing and mocking. I am thinking of going through it once more to grasp the essentials,frankly speaking you are excellent in the ways you make things look simpler
indah
This is amazing, the most professional level video I've ever seen on TH-cam. Liked and Subscribed.
Love your courses!
Greetings from Argentina
Es un capo el Amigoscode
you can also create an ArgumentCaptor with the @Captor annotation
Good evening dear friend I am a Moroccan developer in java spribg boot and I love your tutorials. I have a request please if you can make a video on spring kafka and thank you in advance
why i does not found this last month? Its amazing! Hey, you have a talant to explain things by simple language!
Thank you so much. I watched the entire tutorial all the way to the end
You are the best teacher for programming by far.
و عليكم السلام و رحمة الله و بركاته، بارك الله فيك أخونا.
Thank you so much brother.
When testing the if student email exists, you could use a getter for the email defined in the student model class. Great video!
wa alaikum as salam!! Thank you for this huge tutorial. I'm still new to backend. Gotta learn more
FYI the contextLoads test is not pointless at all, it verifies that the application is bootstrapped correctly and there is no exception raised by the application context. If you have missing configuration properties or some (auto)wiring issues that test would have caught it.
Great tutorial overall. One suggestion. Plz consider zooming out a bit. Thanks!
This is basically an entire university subject practice in one video. Awesome job
You really know how to get the message across! Thank you very much for this video!
That was a great example at the end, thank you!
This is gold. Finally someone that explains testing to me in an understandable way. Thank you so much.
Very good and great that you motivate programmers to write tests :) There is so much stuff you _will_ miss if you don't write a Test.
Best unit & integration tests tutorial so far, thanks mate
Can you do a kafka tutorial? There's not many good ones out there
Yeah I've found spring kafka very confusing!
Especially spring batch
yes please! agree
@@MintyKanesh Yeah, you ever read "the castle" by kafka? Makes no sense!
kindly do one for spring kafka
Thanks a lot , among all the massive trainings out there, I have been studying yours since the past months, well and clearly explained and updated!
Thanks, barakaAllahu fik
Awesome! You've covered everything that I was looking for! Keep this up!
h2 in-memory database for tests can leak some features that you use in application db (postgres or mysql) so it's handy to use test containers, looking forward to testcontainers tutorial :)
Hey, may I ask you what you mean by leak? Can you elaborate please?
@@GSBroker i meant - miss some features that are applicable for some databases only
Hey man, your vidieos are really amazing that I have to admit :)) If you have time, please compose socket videos. You have a good explaining so I think you can give the best anwser how the socket works. Thank you and have a good day!
Thank you for you very useful videos and above all for your very very clear English language: this is a great added value for us followers not having English as mother tongue.
Thanks for a good tutorial, this was exactly what I needed. Keep it up! :)
It also helped me to understand the software engineering topics..
Thank you! You are a good teacher!
Great looking forward to it
Download Diffblue to auto generate unit and integration tests
www.diffblue.com/community-edition/download/promo?code=amigoscode
Best selling courses
► Spring Full Stack and React Course WITH 30% OFF - amigoscode.com/p/full-stack-spring-boot-react/?product_id=2963573&coupon_code=FULLSTACK30
► Software Testing Course - amigoscode.com/p/software-testing
► Repo to follow along: github.com/amigoscode/spring-boot-fullstack-professional/
ты молодец! желаю миллион подписчиков твоему каналу )
Great course, thanks!
Before watching the video, I got a little familiar with the theory of integration testing and this made it easier to understand the topic. Took a little effort to write a test to check for the possibility of deletion, it was great!
I will watch your content in the future
peace!
А почему future peace? Это же кусок не?
Salam Alikum, what to say, amazing are your courses, barak Obama fik; sorry Barak Allah fik :).
Thank you Nelson! You're the best teacher
ThanX Bro. You're a great teacher. Literally saved me here
great tutorial. Many thanks
keep calm and say "INSHALLAH'
Jazakallah Khair brother , Happy Ramadan
Again right to the point, easily understandable and great content as always 👏🏽
Hey bro. Thank you so much. I love your courses, it is useful and clear.
Wa 3alikum el salam brother happy to find a Muslim brother in this field that alone puts a lot of inspiration
Also wonderful explenation ! Helped a lot
Thanks for this Tutorial, I have an interview tomorrow for Junit Test
I was wondering if you can create a crash course on Web Development, amazing content as always :D
Thank you! Great tutorial! 💛
Finally! Thanks bro.
Thanks a lot you are always supportive
Wealykum aselam, thank you bro . It is helpful
Thank you very much. Very clear explanation
Recently saw your channel...Loving your videos...Keep posting....Anything related to data science will be helpful...
Salam from USA. Brother, we spoke before about Muslims whom may know Tensorflow and Custom Layers. Please dedicate some time to this. Very Important for us Muslims to learn to code and predict in Tensorflow and Custom Layers w/ Keras.
بارك الله فيك 🤲
You are amazing, keep moving, and thanks so much 🌷
Such an amazing tutorial
I'm a simple man. I see Nelson thumbsup, I click on video
Thanks for the video! I'm really like the way you teach.
Thanks a lot, that was really nice, perfect and well explained
This is a great video! Very well explained!
this looks really good, I will buy the course next month
Great video! I have learned a lot. Thank you.
Thanks for this!! You’ve earned a new subscriber!
Thanks a lot. This really saved me a lot of time.
Great tutorial Nelson, really love your content
i just say may allah bless you more and more
thanks, now I understand why write tests :)
Thanks for your great video!
Do have experience with message brokers like kafka or rabbitmq? I would appreciate sharing video about these technologies too
I must say god bless you. may god give you good health. you are awesome bro......
Thanks a lot! Very usefull and simplest guide!
Thank you very good tutorial. Kindly find some time and do one for elastic search with Spring boot
Thank you form Korea
Amazing crash course. Thank you very much.
Masya Allah, good explaination. jazakallahukhair bro..
Wa’alikum Alssalam ! Thanks brother
Hi! This video is very good. Concepts are well explained, thank you :)
Thanks😍😍 Superb Tutorial🥰🥰
Amazing tutorial, Mama Samba!!! You could bring some content about QueryDSL, because it's type-safe and few channels approach this. Thank you so much
Is there another video for integration testing? I needed to learn that primarily but the end just gave an overview. 🤷♂️🤷♂️
Amazing lesson! Thanks for the efforts!