You are here

Testing Drupal with CasperJS

CasperJS is a navigation scripting & testing utility for PhantomJS and SlimerJS written in Javascript. The fact that seems most appealing is that tests are written in JavaScript.

Once a project is live and stability is a must, writing tests that verify the core logic of the application and run on a Continuous Integration system saves from a lot of manual testing time and gives more confidence when deploying a new release.

In this talk we will go over the basics of CasperJS and PhantomJS (the underlying browser) and then move on to some examples such as opening pages, submitting forms, taking screenshots, jumping from one role to another, run JavaScript in the browser's console, and integrate it with Jenkins and Github.

This session can be given in Spanish if required by the organization.

Schedule info
Status: 
Unprocessed
Experience level: 
Intermediate
Speaker(s): 
juampy
Drupal version: 
None
Language: 
English