Your SlideShare is downloading. ×
Headless BDD
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Headless BDD

1,852
views

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). …

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
1,852
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
0
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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. 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. BDD  BDD Tools [ Behat, Cucumber]  Web Acceptance Testing Frameworks [Mink, Capybara]  Drivers [Selenium, Watir, RakeTest, Goutte, Zombie, Phantomjs etc etc]
  • 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. 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. 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. PhantomJS  PhantoJS is Headless Webkit with full JavaScript support.  Multipurpose  Install on Mac OSX $ brew install phantomjs  Website: http://phantomjs.org/index.html
  • 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. THANK YOU
  • 10. THANK YOU