Тёмный

Spring Boot Testing - ** Batteries Included 🔋🔋 

Dan Vega
Подписаться 61 тыс.
Просмотров 22 тыс.
50% 1

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/dan...
Spring Boot Documentation: docs.spring.io...
👋🏻Connect with me:
Website: www.danvega.dev
Twitter: / therealdanvega
Github: github.com/dan...
LinkedIn: / danvega
Newsletter: www.danvega.de...
SUBSCRIBE TO MY CHANNEL: bit.ly/2re4GH0 ❤️

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@fabricioaraujo7642
@fabricioaraujo7642 11 месяцев назад
For sure one of the top 3 spring yt channels !! Thanks for the content man
@ayushprasad8207
@ayushprasad8207 11 месяцев назад
can you name the other two too, Dan is so good, would like to know more
@fabricioaraujo7642
@fabricioaraujo7642 11 месяцев назад
@@ayushprasad8207 Josh long and spring developer :D
@ayushprasad8207
@ayushprasad8207 11 месяцев назад
Thanks mate @@fabricioaraujo7642
@rsbah
@rsbah 4 месяца назад
@@svenmaier3728 how did you post a blank comment 👀
@calebmbugua745
@calebmbugua745 6 месяцев назад
wwoow,. Thank you Dan, veery well understood, Love from Kenya!
@DanVega
@DanVega 6 месяцев назад
Thank you
@kostiantynkarzhanov9216
@kostiantynkarzhanov9216 5 месяцев назад
Great tutorial and very helpful! Thank you so much! 💛
@kosnowman
@kosnowman 6 месяцев назад
thanks dan, helps me steps into the world of testing
@DavidYoo-m7z
@DavidYoo-m7z 11 месяцев назад
This is exactly the video I was looking for. You have a sixth sense when it comes to making useful content Dan
@birbir969
@birbir969 11 месяцев назад
happy coding!!! Thank you very much !
@joachimdietl6737
@joachimdietl6737 11 месяцев назад
You are such a good teacher i want to work with you!
@__nitinkumar__
@__nitinkumar__ 2 месяца назад
Hi Dan, I have seen one issue, please tell me if there is good way. My @Component class uses @Value for a field. Just so that I can inject it, I have to make my Test @SpringBootTest which take a lot of time to run, as it will start the application and stuff, create a dummy db, run migrations etc. Is there any way to only inject the @Value, and not load db and stuff as it is not needed.
@uhuebner
@uhuebner 11 месяцев назад
Pleeeeease start putting chapters in your long videos!
@alimrad7760
@alimrad7760 11 месяцев назад
Ohh thanks man , you do a lot of great content
@peshutanpavri1599
@peshutanpavri1599 7 месяцев назад
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 ?
@ayanchakraborty7842
@ayanchakraborty7842 11 месяцев назад
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.😊😊
@rnwadinobi
@rnwadinobi 7 месяцев назад
Hey love the videos but im getting a nullpointer exception when using findall and not sure where its coming from
@sairamreddy500
@sairamreddy500 6 месяцев назад
Do you have an junit example on resclient mocking get method?
@VictorPalmero-v7e
@VictorPalmero-v7e 4 месяца назад
Great video, thank you for making such good content
@stefanoforgiarini339
@stefanoforgiarini339 4 месяца назад
Great content! Thank you Dan for sharing your knowledge
@leonroy8953
@leonroy8953 9 месяцев назад
Thanks!
Далее
Barno
00:22
Просмотров 658 тыс.
Inside Out 2: BABY JOY VS SHIN SONIC 4
00:16
Просмотров 3,7 млн
Testcontainers - From Zero to Hero. By @MarcoCodes
1:01:29
Microservices are Technical Debt
31:59
Просмотров 332 тыс.
Barno
00:22
Просмотров 658 тыс.