Posts from August 2013

The HootSuite web dashboard is quite front-end heavy. We have a large JavaScript codebase and a lot of it was written using jQuery, with most of the code touching the DOM in some way. Due to the coupling of the code with the DOM, unit testing gets a bit complicated as HTML fixtures will have to be supplied for tests. It’s not impossible, but it’s a bit more work, and experience shows that developers are more likely to write tests when they’re convienent. We’ve adopted to use CasperJS to fill the gaps in our unit test coverage.

Read More …