Java - JUnit testing in Eclipse

preview_player
Показать описание

Java - JUnit testing in Eclipse - In this Java tutorial, I show you how to make a basic JUnit test class and JUnit test suite. This is used to help test your code so that you are getting the correct output that you expect. This is a great tool that should help you save alot of time and energy going back over code that isnt working right because it wasnt regularly tested.
Рекомендации по теме
Комментарии
Автор

Some day all tutorial videos will be made this way. Simple and straight to the point without the waffle! Thanks!

danmandubwah
Автор

You are a gift to programmers. So hard to find a good java tutorial.

safaasadi
Автор

My teacher didn't bother teaching this, he just linked this video in the assignment and told us to follow it and take screenshots LOL

Thanks for making it short & painless!

Scotia__
Автор

Keep in mind, when setting up a new JUnit test case you need to make sure "New JUnit 4 test" is selected. Mine would default to "New JUnit JUPITER test" and my test suite would not detect ANY of my test classes because of that. Great tutorial though, very easy to follow along to whats going on in the video.

jasonaguilera
Автор

I know I'm almost 7 years late, but this was great! You answered all the questions I had and made my school project much easier to understand. Thank you!

camoseth
Автор

The best tutorial out there. If every tutorial was like this I - well I would have gotten 4 more hours of sleep last night. Everything I was confused about was summed up in 12 minutes...8 years after publication and you're still a G. Appreciate you!

tyloborsboom
Автор

I hope you do realise that your teaching skills are perfect for every type of knowledge seeking being out there.

hmak
Автор

I was thinking of Udemy courses, but told myself "let me try youtube first". You saved me both money and time. THANK YOU :)

lukamarkac
Автор

Thank you very much for the --> Direct Straight Point without wasting time and all headache theories.

rajendrachowdary
Автор

I know this video is 7 years old, but still, for someone it might be useful:
For me JunitTesting() wasn't avaiable, I used Assert.assertEquals() instead.
I've got a warning that it is also depricated so, there should be a newer option.

Other than that, thank you for the video. You made it short yet easily understandable, it's very well done.

brsver
Автор

My lecturer was making my head spin with his explanation of this, but your video was so simple and straight forward. Thank you!

idlegeorgia
Автор

Finally someone can explain stuff properly for beginners

issacjohn
Автор

no bullshit, no wasting of time
clear and easy tutorial.

hassankamal
Автор

6 years after you made this video it helped me so thank you

angelodente
Автор

Wow. This tutorial was way better than 1/5 hours of a university lecture. Keep up the good work mate.

amirgholizadeh
Автор

I'm getting back into the swing of programming in Java. You were able to answer all of my questions about JUnits in less than 12 minutes.Thanks, fam.

SpitzNamen
Автор

SO helpful! I cant thank you enough. Please do more, you explain so much better than my lecturer.

dzn
Автор

thankyou McProgramming, now i can understand the basic of testing, the way you explain is straightforward that can be understand for everyone.I hope you keep making such this video.

hafizmfadli
Автор

Greetings,

*Thank you so much for this magnificent guide.* I would like to point out that when I tried to create a Junit Suite there were *no methods found.*
If you guys have the same issue, you could just *Right-Click the package, choose Run As and then click Junit Test.*

chelogetic
Автор

Thanks. I managed to get my Junit tests running (in Netbeans). I hadn't coded any Junit tests for several years now (before annotations existed).

lachlangro