DrupalCon Portland 2013: AUTOMATED TESTING WITH JASMINE AND PHANTOMJS
As client-side programming (i.e. JavaScript) gets more complex, creating/automating tests for it becomes important.
To that end, we will talk about Jasmine, a behavior driven development framework for JavaScript, and PhantomJS, a headless WebKit with a JavaScript API.
We will show how to write Jasmine tests and PhantomJS scripts. Then, we will demonstrate how to integrate both.
We will finally explore how this structure could be combined with any Continuous Integration system by going over one in particular, Jenkins.
To that end, we will talk about Jasmine, a behavior driven development framework for JavaScript, and PhantomJS, a headless WebKit with a JavaScript API.
We will show how to write Jasmine tests and PhantomJS scripts. Then, we will demonstrate how to integrate both.
We will finally explore how this structure could be combined with any Continuous Integration system by going over one in particular, Jenkins.