Spring Boot @DataJdbcTest Annotation: Learn how to test your Data JDBC Components

preview_player
Показать описание
In this tutorial, you will learn how to use the @DataJdbcTest annotation in Spring Boot to test your JDBC components.

🔗Resources & Links mentioned in this video:

0:00 Intro
2:51 Clone the repository
5:00 Review the starting code
6:50 Create the test class
10:30 @DataJdbcTest annotation
12:30 Writing the individual tests
21:50 Final thoughts

👋🏻Connect with me:

Рекомендации по теме
Комментарии
Автор

Thanks! Just what I needed, a great example.

elEntrampe
Автор

This looks legit but why is this giving me "No ParameterResolver registered for parameter" error on the constructor :/

numankaraaslan
Автор

Wow. intellj directly clone from git. So

jianhe
Автор

Hello! How can you expect 5 rows if the state of the database can be different? :) What you will be doing in such a case as 12832 rows?

caffeinejavacode
Автор

Test ignored.

Type not present I am getting this error . I use Junit5 Jupiter.

dimkaddd
join shbcf.ru