Testing Drupal with CasperJS

In part three of our CasperJS series, we used CasperJS to rapidly test the user interface of a website. Now we will build on these skills and add a familiar element into…

Simulate user actions with CasperJS

In part one we ran functional tests on Picturefill by measuring the behavior of the script in response to the browser's viewport width changing. In part two we explored Casper's ability to…

Testing JS code with CasperJS

In part one of our CasperJS series, we briefly introduced CasperJS and walked through a functional test for Picturefill, a frontend component of a website. In this article, we will discuss the…

Using CasperJS to test Picturefill

In the ten years I've been building websites professionally, I can't count the number of times I have crafted something with all of the care and attention it deserved, manually testing and…

Other Series