Like a Genie from a Lamp: Headless JavaScript Unit Testing with Jasmine and PhantomJS
by Rob Friesel 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
Statistics
- Likes
- 0
- Downloads
- 9
- Comments
- 1
- Embed Views
- Views on SlideShare
- 636
- Total Views
- 674
1–1 of 1 previous next