Testing JS code with CasperJS

added by JavaScript Kicks
9/2/2014 2:58:27 PM


We rely on many libraries to build websites, and if our code truly depends on one, it’s worth taking some time to verify that it is working properly before testing those components of the site. There are many reasons your libraries could stop working, ranging from developer mistake to aggregation issues in your build process. Because the possibilities are so diverse, it’s a good idea to keep an eye on them using a test.