• Email
  • Like
  • Save
  • Private Content
  • Embed
 

Like a Genie from a Lamp: Headless JavaScript Unit Testing with Jasmine and PhantomJS

by on Sep 23, 2012

  • 674 views

Jasmine is a mature BDD test framework for JavaScript, and though powerful and feature-rich in its own right, you are often still shackled to a browser window to conduct your tests. Tools like ...

Jasmine is a mature BDD test framework for JavaScript, and though powerful and feature-rich in its own right, you are often still shackled to a browser window to conduct your tests. Tools like Selenium WebDriver make automated testing possible, but they are difficult to set up, cumbersome to use, and worst of all slow. Wouldn't it be nice if you could execute your tests as part of your build? And have those tests before completed in seconds? With PhantomJS ("the headless WebKit") that wish has come true. In this talk we will introduce the Jasmine BDD test framework, introduce PhantomJS, and demonstrate how to execute your Jasmine tests in PhantomJS for lightning fast results.

The code and discussion points from this talk appear on Github: https://github.com/founddrama/vt-code-camp-2012

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

3 Embeds 38

http://speakerrate.com 28
http://notundefined.tumblr.com 9
http://safe.tumblr.com 1

Statistics

Likes
0
Downloads
9
Comments
1
Embed Views
38
Views on SlideShare
636
Total Views
674

11 of 1 previous next

Post Comment
Edit your comment

Like a Genie from a Lamp: Headless JavaScript Unit Testing with Jasmine and PhantomJS Like a Genie from a Lamp: Headless JavaScript Unit Testing with Jasmine and PhantomJS Presentation Transcript