THE
FRONT END TESTING FRONTIER
CJ Kihlbom, Elabs – @cjkihlbom
Jonas Nicklas, Elabs – @jncoward
WE LOVE TESTING
WE LOVE TESTING
…RUBY CODE
FRONT END TESTING IS
NEGLECTED
FRONT END TESTING IS
HARD
INTEGRATION TESTING
CUCUMBER
STEAK
CAPYBARA
WEBRAT REPLACEMENT
DRIVER AGNOSTIC
DRIVER GOOD BAD
rack-test
Selenium
HTMLUnit
Celerity/Culerity/Akephalos
Envjs
Fast, simple No JavaScript
Real browser,
Jav...
@javascript
UNIT TESTING
EVERGREEN
JASMINE
OUT OF THE BOX
EXPERIENCE
TEMPLATES
STATIC
TEMPLATE
EVERGREEN
TEMPLATE
FRAGMENT
DEMO!
FRONT END TESTING IS
NOT HARD
RESOURCES
CJ Kihlbom, Elabs – @cjkihlbom
Jonas Nicklas, Elabs – @jncoward
http://github.com/elabs/front_end_testing
http:/...
Upcoming SlideShare
Loading in...5
×

The Front End Testing Frontier - RubyConf 2010

2,867

Published on

While most Ruby developers are very familiar with testing their code, front end and JavaScript testing is still a new frontier for many. This talk will show you how to easily write and run JavaScript integration tests with Capybara and Cucumber, and unit tests with Evergreen and Jasmine. The goal is to inspire you to get started with frontend testing, and point you in the right direction to go do it!

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

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

No notes for slide

Transcript of "The Front End Testing Frontier - RubyConf 2010"

  1. 1. THE FRONT END TESTING FRONTIER CJ Kihlbom, Elabs – @cjkihlbom Jonas Nicklas, Elabs – @jncoward
  2. 2. WE LOVE TESTING
  3. 3. WE LOVE TESTING …RUBY CODE
  4. 4. FRONT END TESTING IS NEGLECTED
  5. 5. FRONT END TESTING IS HARD
  6. 6. INTEGRATION TESTING
  7. 7. CUCUMBER
  8. 8. STEAK
  9. 9. CAPYBARA
  10. 10. WEBRAT REPLACEMENT
  11. 11. DRIVER AGNOSTIC
  12. 12. DRIVER GOOD BAD rack-test Selenium HTMLUnit Celerity/Culerity/Akephalos Envjs Fast, simple No JavaScript Real browser, JavaScript & CSS Slow, requires GUI Headless, good JavaScript support Pretty slow Headless, faster than HTMLUnit JavaScript and CSS not 100% DRIVER AGNOSTIC
  13. 13. @javascript
  14. 14. UNIT TESTING
  15. 15. EVERGREEN
  16. 16. JASMINE
  17. 17. OUT OF THE BOX EXPERIENCE
  18. 18. TEMPLATES
  19. 19. STATIC TEMPLATE EVERGREEN TEMPLATE FRAGMENT
  20. 20. DEMO!
  21. 21. FRONT END TESTING IS NOT HARD
  22. 22. RESOURCES CJ Kihlbom, Elabs – @cjkihlbom Jonas Nicklas, Elabs – @jncoward http://github.com/elabs/front_end_testing http://github.com/jnicklas/capybara http://github.com/jnicklas/evergreen http://github.com/pivotal/jasmine
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×