MENU

Fun & Interesting

Spring Boot Testing - ** Batteries Included 🔋🔋

Dan Vega 27,215 lượt xem 1 year ago
Video Not Working? Fix It Now

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: https://github.com/danvega/spring-boot-testing
Spring Boot Documentation: https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.testing

👋🏻Connect with me:
Website: https://www.danvega.dev
Twitter: https://twitter.com/therealdanvega
Github: https://github.com/danvega
LinkedIn: https://www.linkedin.com/in/danvega
Newsletter: https://www.danvega.dev/newsletter

SUBSCRIBE TO MY CHANNEL: http://bit.ly/2re4GH0 ❤️

Comment