► Timestamps 00:00 Intro 00:17 Project Skeleton Overview 00:35 Maven/Gradle Dependencies 01:52 Project Overview - Classes 02:11 First Test Class & Fixture 03:02 @Test methods 04:59 First Test Run 05:23 Mvn + Junit5 Issues 07:12 JUnit Assertions 08:35 AssertJ - assertThat 13:40 @DisplayName 14:41 JSON Unit - Asserting JSON 17:34 XML Unit - Asserting XML 20:29 Lifecycle Intro 21:10 @BeforeEach 21:29 @AfterEach 22:15 @BeforeAll / @AfterAll 23:13 @ParameterizedTest 24:12 @ParameterizedTest - @ValueSource 25:22 @ParameterizedTest - @CSV Sources 26:47 @ParameterizedTest - @EnumSource 27:12 @TestFactory - Creating Dynamic Tests 31:34 @Tag 32:51 @ExtendWith - 3rd Party Integrations 35:24 Outro
@valeriotrinca5346
2 жыл бұрын
You explain the concepts very well, I hope you will continue to create more tutorials on topics like these
@renaldywijayaputra6560
2 ай бұрын
i like the way you said "and thats all for the boring tasks", thank you for the amazing course by the way🔥
@jeremiahsprague2584
4 ай бұрын
So glad I found your channel, high quality content, compared to other channels I've seen it has so much depth. Thank you!!!
@mercury801115
2 жыл бұрын
You’re a fantastic instructor!
@enfieldli9296
2 жыл бұрын
"If you want to be passive aggressive, you can do this..." this line cracks me up, LMAO
@honsu920
Жыл бұрын
Hey, Marco! Thank you for the great content! Your explanations are clear and quite sufficient. Plus you demonstrate all things using modern IDE and library versions. Super cool! I would really like to see your video about testing in general: unit vs integration tests, what is a test case, edge case, how many tests to write, what to cover with tests and what not to cover... maybe some short insight into CI/CD - how to run tests, see results, coverage... There are almost no good videos on youtube summarizing all these.
@slimandahra4294
Жыл бұрын
i like your way of explaination...just to the point...nothing else and not too much empty talking..thank u and good luck
@MarcoCodes
Жыл бұрын
Thank you!
@andreialexandru7027
2 жыл бұрын
I learned a lot of things from you Mr. Marco Behler! I also follow your other channel, which also has some very good tutorials! Thank you! I wish you a lot of subscribers and likes because you're doing a great job!
@RobsonCassianoSoftware
2 жыл бұрын
I've started being confident with Unit Tests, thanks!
@enfieldli9296
2 жыл бұрын
I'm visibly confused on what to test rather than how to test lol , anyway, can't wait to see the upcomming unit/integration test videos!
@badripaudel77
2 жыл бұрын
Content is so qualified. Love to see more on testing 🙂
@martinmiano8220
Жыл бұрын
Fantastic work Marco Codes
@rasulrzaeeff6772
2 жыл бұрын
Marco you are really explain all topics so clearly. Good luck we all love your articles and videos ;)
@ThinkScienceCanada
4 ай бұрын
amazing video, thank you
@БогданЗараник
2 жыл бұрын
What is the amazing content! I find your videos extremely useful. Why? You give a nice look around. For example, during learning Spring JDBC Template library, I got to know about what is connection pooling. And I really appreciate your video content. Thnx, Marco!
@MarcoCodes
2 жыл бұрын
Thank you for those nice words, Bogdan! Happy you're enjoying it.
@MattThomasLondon
9 ай бұрын
Fantastic presentation - rare to see a white screen demo these days which to me works better for demos
@asterixcode
Жыл бұрын
a video about integration tests would be amazing :) and as an extra an integration test from api endpoint, consuming from kafka and saving in a db :)))
@Kevin-gr5rs
2 жыл бұрын
First to comment for the first time in my life. I have now completed one of my life goals 🚀
@MarcoCodes
2 жыл бұрын
I love the spirit @Kevin :) !
@Kevin-gr5rs
2 жыл бұрын
@@MarcoCodes I hope you will do many more Java videos. I just landed my first backend job with not a lot of experience. So need to learn a lot.
@feici02
2 жыл бұрын
8:28 expected should be the first parameter of the assertEquals method. I often make the same error. 😀
@MarcoCodes
2 жыл бұрын
Ha, good catch!
@electricant55
Жыл бұрын
Man, thank god for Spock
@user-ec4rx6nk7x
Жыл бұрын
Awesome tutorial
@БогданЗараник
2 жыл бұрын
Beautiful content. Google has just suggested me your Gradle video. Coooool! I was looking for it for several days. Let me go watching! PS: Marco, could you also make video about Mockito? It would be niiiice.)
@MarcoCodes
2 жыл бұрын
Mockito is actually in the backlog, I'll see what I can do :)
@user-ec4rx6nk7x
Жыл бұрын
Very impatient to see a Quarkus tutorial from you.
@MarcoCodes
Жыл бұрын
Unfortunately not coming anytime soon.
@abdiafrah4907
Жыл бұрын
Suddenly I like testing again 😂
@Jod4light
2 жыл бұрын
Awesome!
@sidremey
2 жыл бұрын
1:51 Strangely, IDEA did not add test even though you told it the scope you wanted in the dependency manager.
@MarcoCodes
2 жыл бұрын
Very good catch, didn't even notice that! Seems like a bug, because I just tried it out and it worked, interesting. Thank you!
@halasamir3505
2 жыл бұрын
Great! keep it up :)
@milanpronic9424
6 ай бұрын
you should show full code of class like User
@MarcoCodes
6 ай бұрын
Ok
@adaworoag
2 жыл бұрын
Good content 🙂
@samank2847
2 жыл бұрын
hey nice video I did just subscribe. nice content. A docker video would be nice maybe using docker desktop :)
@MarcoCodes
2 жыл бұрын
Anything specific you'd like to see covered in that video?
@berndeckenfels
2 жыл бұрын
Interesting it did not run setup/cleanup for the dynamic tests.
@MarcoCodes
2 жыл бұрын
Yup, good catch! You might want to read the "Dynamic Test Lifecycle" section here in the documentation: junit.org/junit5/docs/snapshot/user-guide/#writing-tests-dynamic-tests
@rajapattai
2 жыл бұрын
Hi please use the Wind Muff for you Audio Microphone. you voice is very clear and loud but the wind noise from your voice is not good.
@MarcoCodes
2 жыл бұрын
Any specific locations in the video where that happens?
@rajapattai
2 жыл бұрын
@@MarcoCodes at the start "junit junit" the song and "test of test" at the intro end at the "quick caveat" and also at many place when you come close to the microphone. or place your microphone at the TOP. kzitem.info/news/bejne/wqh5y2iLh6mojJw
Пікірлер: 49