Your SlideShare is downloading. ×
Headless BDD
Shashikant Jagtap
Twitter: @Shashikant86
Blogs: http://shashikantjagtap.net
Disclaimer: The opinions expresse...
Topics

BDD Tools + Test Frameworks + Drivers

Benefits of using Headless Drivers with
BDD tools

Zombie and Phantomjs
...
BDD

BDD Tools [ Behat, Cucumber]

Web Acceptance Testing Frameworks
[Mink, Capybara]

Drivers [Selenium, Watir, RakeTe...
Browser Vs Headless

There are few drivers which pop up
browser to run scenarios
e.g Selenium, WebDriver, Watir

There a...
Why Headless?

Fast

No XVFB, X11, XVNC etc etc on Linux
servers

HTTP, Cookies and Network Traffic

Screenshots and J...
Zombie

Headless Driver with full support to
JavaScript

Uses Node.js, NPM, C++ Compiler &
Python

Installation: OSX [X...
PhantomJS

PhantoJS is Headless Webkit with full
JavaScript support.

Multipurpose

Install on Mac OSX
$ brew install p...
Headless BDD Live Demo

Behat + Mink + Zombie
GitHub:
https://github.com/Shashikant86/Behat-Zombie

Cucumber + CapyBara ...
THANK YOU
THANK YOU
Upcoming SlideShare
Loading in...5
×

Headless BDD

2,072

Published on

This talk has been delivered at London Tester Gathering #TesterGathering on 26 June, 2013. This talk was all about demo of Behat and Cucumber with headless drivers Zombie and PhantomJS (Poltergeist).
Event Url : http://www.meetup.com/agiletesting/events/123049092/

Published in: Technology
1 Comment
0 Likes
Statistics
Notes
  • Hi Shashikant,

    I hoped you put your slides up, this is something that I want to look into further.

    Hopefully, we'll have a chat and a pint at the next meetup :)

    Cheers,
    John.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total Views
2,072
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
0
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Headless BDD"

  1. 1. Headless BDD Shashikant Jagtap Twitter: @Shashikant86 Blogs: http://shashikantjagtap.net Disclaimer: The opinions expressed here represent my own/personal views and not those of my current employer or previous employers
  2. 2. Topics  BDD Tools + Test Frameworks + Drivers  Benefits of using Headless Drivers with BDD tools  Zombie and Phantomjs  Demo Behat + Mink + Zombie  Demo Cucumber + Capybara + Poltergeist Hashtag #TesterGathering
  3. 3. BDD  BDD Tools [ Behat, Cucumber]  Web Acceptance Testing Frameworks [Mink, Capybara]  Drivers [Selenium, Watir, RakeTest, Goutte, Zombie, Phantomjs etc etc]
  4. 4. Browser Vs Headless  There are few drivers which pop up browser to run scenarios e.g Selenium, WebDriver, Watir  There are some which don't have real browsers but they are headless browsers e.g Phantomjs, Zombie
  5. 5. Why Headless?  Fast  No XVFB, X11, XVNC etc etc on Linux servers  HTTP, Cookies and Network Traffic  Screenshots and JavaScript execution  Error Detections on Page [JS Error]  Debug Options
  6. 6. Zombie  Headless Driver with full support to JavaScript  Uses Node.js, NPM, C++ Compiler & Python  Installation: OSX [Xcode, HomeBrew]  GitHub: https://github.com/assaf/zombie
  7. 7. PhantomJS  PhantoJS is Headless Webkit with full JavaScript support.  Multipurpose  Install on Mac OSX $ brew install phantomjs  Website: http://phantomjs.org/index.html
  8. 8. Headless BDD Live Demo  Behat + Mink + Zombie GitHub: https://github.com/Shashikant86/Behat-Zombie  Cucumber + CapyBara + Poltergeist GitHub: https://github.com/Shashikant86/Poltergeist-Demo
  9. 9. THANK YOU
  10. 10. THANK YOU

×