Front-end Unit Testing with JavaScript

shaik@wix.com | May 13th 2012 | JavaScript

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/


By shaik@wix.com
Wix

Leave a Reply

4 comments

We are always looking for excellent people. Browse Jobs Here   

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

Have any questions? Email academy@wix.com.

Find out what’s coming up at Wix Engineering:

Subscribe to our newsletter for updates, events and more.