Unit testing in JavaScript Part 1 – Why unit testing?



💖 Survey: Please tell me your opinion on this episode
https://funfunfunction.typeform.com/to/sUvfTW?ep=unte1

script type="text/javascript" src="http://aos-creative.prf.hn/creative/camref:100l3Rd/creativeref:10l3694">

Today, we are going to start exploring unit testing in JavaScript.

I think of Unit testing as a software development technique where you break your software up into small, isolated units and write automated tests that ensure that each unit works as expected.

My main motivation for doing unit testing is to keep complexity from overwhelming me. And that is what we’re going to explore in this first video – we’re going to look at how a new piece of code always starts out simple but very quickly gets too much to keep all in our heads.

🔗 Support the show by becoming a Patreon
https://www.patreon.com/funfunfunction

🔗 Discuss this video on the Fun Fun Forum
https://www.funfunforum.com/t/unit-testing-in-javascript/3071/1

🔗 Inline evaluation plugin
https://quokkajs.com/

🔗 Code snippets from the episode
https://gist.github.com/mpj/c53f72984830b86fd92f4778a594efbf

🔗 Reduce video

🔗 mpj on Twitter

🔗 The gear I use to produce the videos

🔗 Help translate the show to your language
http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCO1cgjhGzsSYb1rsB4bFe4Q

source

Reply

Do NOT follow this link or you will be banned from the site!