Spring Boot Testing - ** Batteries Included 🔋🔋
Ғылым және технология
In this tutorial you will learn what you get out of the box when it comes to testing your Spring Boot applications. When you create a new Spring Boot application at start.spring.io the spring-boot-starter-test dependency is added to your project for you. We also generate a test for you with a single method called `contextLoads()`.
It is important to know what libraries are included so that when you see tests you can identify what is happening.
🔗Resources & Links mentioned in this video:
GitHub Repo: github.com/danvega/spring-boo...
Spring Boot Documentation: docs.spring.io/spring-boot/do...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/danvega
LinkedIn: / danvega
Newsletter: www.danvega.dev/newsletter
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️
Пікірлер: 23
This is exactly the video I was looking for. You have a sixth sense when it comes to making useful content Dan
You are such a good teacher i want to work with you!
For sure one of the top 3 spring yt channels !! Thanks for the content man
@ayushprasad8207
8 ай бұрын
can you name the other two too, Dan is so good, would like to know more
@fabricioaraujo7642
8 ай бұрын
@@ayushprasad8207 Josh long and spring developer :D
@ayushprasad8207
8 ай бұрын
Thanks mate @@fabricioaraujo7642
@rsbah
Ай бұрын
@@svenmaier3728 how did you post a blank comment 👀
Great video, thank you for making such good content
Great content! Thank you Dan for sharing your knowledge
Ohh thanks man , you do a lot of great content
Great tutorial and very helpful! Thank you so much! 💛
thanks dan, helps me steps into the world of testing
wwoow,. Thank you Dan, veery well understood, Love from Kenya!
@DanVega
2 ай бұрын
Thank you
happy coding!!! Thank you very much !
This is incredible, I was bashing my head against the wall, because there was so much documentation and so much info out there, You have provided a really good foundation, i have already done DataJpa, Unit tests, I will test this now, When doing the full @SpringBootTest, is there any need to load the whole server ? Or is Mock Mvc with the real application context enough ?
Thanks!
Hi Dan, big fan your work here on this channel. I have a request....I want to learn developing event driven microservices using Spring boot reactive. I hope you see this and guide me through. I don't see any videos on this topic. Please make one. Untill then if you could provide me anything where I can pick up the basics. Thanking you in advance.😊😊
Hey love the videos but im getting a nullpointer exception when using findall and not sure where its coming from
Pleeeeease start putting chapters in your long videos!
Do you have an junit example on resclient mocking get method?