What is Unit Testing? Why YOU Should Learn It + Easy to Understand Examples

preview_player
Показать описание
If you haven't come across unit testing and wondering what it's all about then take some time and watch this video. It's a quick primer on unit testing with some super simple examples to illustrate some basics. Let me know if you have any questions in the comments!

*** GitHub Link for Code Example ***

*** Coaching ***

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

Does this give you a basic idea about unit testing? Is there anything unclear or that could have been further explained?

AndySterkowitz
Автор

Our devs have written in big letters on the board that reads "Write your tests first". Before they write the code they develop the test. It helps them ensure what they are building is well thought out.

alimfuzzy
Автор

Apparently "Oh yeah, I test the shit outta units!" isn't a valid interview response.

jt
Автор

Thank you, Andy. You are a great teacher with much enthusiasm and passion for your work!

patrarus
Автор

This is a really helpful video! I've always heard this topic but never really known how to approach it but this is a really friendly approach to unit testing since it seems like a monster when thinking about it initially.

mandor
Автор

Great video on Unit Testing, we briefly covered it in our boot camp. But simple, easy-to-understand examples!

borischen
Автор

This video was very helpful Andy I heard of Unit testing before but never understood what if was for and how it works. Now I have a better understanding of both. If you have references on how to learn more about Unit testing you would like to share I would appreciate it. Thank again.

hmajor
Автор

I went into your channel and searched for the follow up videos but no luck!
Thanks for the great video and I hope you cover the rest in the future!

yassineyounes
Автор

Hey Andy! Thank you for hitting the topic. It helps with a better understanding how unit testing works and from the looks of your github. I was able to kind of understand how to setup the testing but not fully.

_kazuki
Автор

I really like that you're providing coaching service, this is the first time I've seen anybody from YouTube offer that, very innovative of you :)

baatar
Автор

Great video, I would love to see deeper technical stuff from you. Thanks

kenfrancis
Автор

Trying to learn tests and this was amazing! Thank you! Great video!

fastersixth
Автор

This video came at such a good time!! Im building an API and want it to do some Unit testing, but i was kinda lost. Thanks Andy!

SuperPoower
Автор

Very helpful. I recently started looking into unit testing again and I was looking for some simple breakdowns of how unit tests work.

ChaosArtist
Автор

Like Andy said my organization does not do this so when i had an interview with another company, they asked me if i write unit tests, I said no, and they looked at me like I was some alien. So now I am here, thanks for the video!

hovarda
Автор

Question, I've been researching employment in my area and I've come to find that unit testing knowledge is needed. The 6 major of Unit testing involve Mocha, Chai, JSHint/JSLint, Cypress, Jasmine and JSUnit. I'm leaning more towards Cypress because I code with Node, but also am learning Angular and React down the line. Out of the 6 I listed, which do you use and why?

corritaylor
Автор

Thanks for the beginner-friendly explanation

jstnflnt
Автор

I think it would've been helpful for learners to hear that the use of interfaces does wonders for unit testing. Which would naturally lead to methods of those injected interfaces to then be mocked. Etc.

Ryan-nqqp
Автор

I needed to have an idea about 2 subjects, Angular and Unite Testing. And you talked about Unit Testing IN your Angular video. WHAT ARE THE CHANCES?! Thank you.

cuichu
Автор

You explain stuff SO WELL! I just wish the example code was in JavaScript or PHP

The_Nova_Glow