Java Spring Boot [2024] Part 7: Unit Testing

preview_player
Показать описание
Join my Patreon:

LinkTree:

FULL PLAYLIST:

LinkTree:

0:00 Intro
2:22 Sanity Check
2:56 Test Class Setup
4:00 Unit Test 1
5:56 Unit Test 2
6:57 Run all tests
7:29 Notes

#java #javaframework #learnjava #learntocode #javatutorial #javaforbeginners #springboot #springboottutorial #javaspringboot #backendframework #backend #backendwebdevelopment #unittesting #unittest #asserttrue
Рекомендации по теме
Комментарии
Автор

Here is the link to the full playlist:

peachezprogramming
Автор

Excellent content ....spring boot mid series ... thank you very much

svronline
Автор

Just finished up creating tests for all of the services and ProductValidator. This is my first time writing tests that aren't simple Unit Tests for Entity mappings. I'll have to go back and retroactively write up some tests for older side projects of mine.

michaelharrington
Автор

Thank bruh. I just got started a new job and needed to learn this asap.

pcccmn
Автор

Thanks cos i dread this part 😂
Happy to build a project, yet i resent writing tests

gintoki_sakata__
Автор

In case you saw my deleted comment about `mvn test` giving me an error, I figured it out!

Seems like even though I had installed Java 21 and was using Java 21 in my IDE, the JAVA_HOME environment variable wasn't correct. After setting the correct path for JAVA_HOME, I was able to successfully run the maven command.

Anyways, this is great content, looking forward to the rest of the playlist!

josepascua