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:

http://dannycroft.co.uk/front-end-unit-testing-with-javascript/



Photo by Wladislaw Sokolowskij on Unsplash

  • Black Twitter Icon
  • Black YouTube Icon

At Wix Engineering we develop some of the most innovative cloud-based web applications that influence our +180 million users worldwide.

Have any questions?
Email: wixeng@wix.com

Trademarks and logos of other parties appearing in this post are the property of their respective holders.

Get Wix Engineering Straight to Your e-mail