Front-end Unit Testing with JavaScript

Updated: Jun 27, 2019

Unit testing can make your code less prone to bugs and gives you piece of mind that everything is working the way it should. Normally when I speak to other developers about work, we end up speaking about workflow, tools and release processes. I’m always surprised by the amount of front-end developers that don’t unit test their code. When asked why, they give the following answers:

“I did have a look at Selenium, but it freaked me out. Getting it installed and ready to go looked a right pig!”

“The back-end guys usually just do that”

“I don’t really get time to do any of that kind of stuff but I’d like to”

“Unit Testing? Say whaaaaattt?”

So rounding up the problems that people are facing, we get the following: Time and effort it takes to get setup Complex APIs and steep learning curves General lack of exposure

Further reading:

Photo by Wladislaw Sokolowskij on Unsplash

192 views0 comments

Recent Posts

See All