Softwire Blog

Lightning Talks: You’re All Doing JavaScript Wrong

12 November 2012, by

Softwire ran a Lightning Talks competition where 8 of our employees had 5 minutes each to tell us something interesting about Software Development. We all got to vote on our favourites and the top 3 won Amazon vouchers.

Here’s the third-placed talk: Hugh Greenish on “You’re All Doing Javascript Wrong!”

Testing and JavaScript: Test Frameworks

8 November 2012, by

JavaScript is something that turns up pretty much everywhere, and it can be a tricky beastie; there’s no static typing, a long enough list of gotchas to let you hang yourself, and by and large it doesn’t leave you with much in the way of useful logs and stacktraces to help save the day. This makes testing important!

Unfortunately, that’s easier said than done. JavaScript code is very easy to write in a way that’s not very testable, and it just doesn’t have as much of a testing culture around it as say, Java. It means there’s not so much of a consensus on tools, and it’s somewhat difficult finding sensible ones for standard testing practices. Fortunately, I’ve made some lists! This is the first in a three part series: test frameworks.