Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Javascript / Browser Integration Testing with Ruby
Jessie Keck
February 13, 2013
Programming
1
150
Javascript / Browser Integration Testing with Ruby
The slides for my presentation at Code4Lib 2013 in Chicago.
Jessie Keck
February 13, 2013
Tweet
Share
Other Decks in Programming
See All in Programming
hr01
0
1.6k
mfunaki
1
130
koher
7
440
viteinfinite
0
210
line_developers_tw
1
490
jun0
3
670
akatsukinewgrad
0
210
masayaaoyama
4
550
line_developers_tw2
0
780
line_developers_tw
0
1.4k
hanhan1978
0
300
taoshotaro
1
370
Featured
See All Featured
destraynor
146
19k
brettharned
93
3k
keithpitt
401
20k
matthewcrist
73
7.5k
maggiecrowley
8
430
jeffersonlam
328
15k
moore
125
21k
iamctodd
17
1.8k
lara
16
2.6k
ddemaree
274
31k
sferik
610
54k
lauravandoore
437
28k
Transcript
Javascript / Browser Integration Testing with Ruby Jessie Keck |
Code4Lib 2013
2 The Problem
3 Normal RSpec Integration Test
4 Let’s See It
5 Mistakes Happen
6 Demo
7 The Some Solution(s)
8 Watir • WATIR == WEB APPLICATION TESTING IN RUBY
• PRONOUNCED WATER • BUILT ON WATIR-WEBDRIVER • EASY TO TEST EXTERNAL SITES
9 Capybara • YES, LIKE THE RODENT • PREFERRED RSPEC/CUCUMBER
DRIVER • HAS THE ABILITY TO TEST RESPONSIVE DESIGN • WEBKIT INTEGRATION AVAILABLE (TRUE HEADLESS)
10 A Tale of Two Syntaxes CAPYBARA WATIR
11 Demo
12 Gotchas
13 Other Potential Uses
14 Come Talk To Me! @jessiekeck github.com/jkeck jkeck@stanford.edu jkeck on
IRC
15 Links • http://watir.com/ • https://github.com/jnicklas/capybara • https://github.com/thoughtbot/capybara-webkit • https://github.com/jkeck/c4l13_javascript_testing