• Like

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

The Front End Testing Frontier - RubyConf 2010

  • 2,746 views
Uploaded 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 …

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!

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,746
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
24
Comments
0
Likes
1

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