Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Testing Any Website Written in Any Language Wit...

Testing Any Website Written in Any Language With Capybara and RSpec

Presented at Barcamp Bangkhen 2014 on November 16, 2014.

Prem Sichanugrist

November 16, 2014
Tweet

More Decks by Prem Sichanugrist

Other Decks in Technology

Transcript

  1. Requirements 1. RSpec - Testing Framework 2. Capybara - Providing

    DSL for Testing 3. Capybara Webkit - Webkit Backend with JS support
  2. Steps • Install dependencies using Bundler • RSpec, Capybara, Capybara

    Webkit • Run RSpec install • Require Capybara in spec_helper • Set Webkit as the driver • Done, start writing test!
  3. Before we're done ... • Bangkok.rb • Metting every last

    Saturday afternoon • http://bit.ly/bangkokrb (Google Groups) • November Meeting - November 29, 2014 • Sign up: http://bit.ly/bangkokrb-nov2014