~/talk

Front End Testing Frontier

Talkat RubyConf 2010 · 2010-11-11..11-13· [testing, javascript]
links:none on file
links:none on file
slides:none on file

Shows concrete recipes: use Capybara + Cucumber for end-to-end tests and switch drivers (rack_test, Selenium, htmlunit variants) because the harness is driver-agnostic, write fast Jasmine unit specs served by the Evergreen gem at slash/evergreen or via rake, use a dynamic template and reset a DOM fixture between examples to avoid test bleed, exercise real interactions including drag and drop with capybara's drag_to API and run CoffeeScript specs unchanged.

AI-written summary · about

  1. 0:00Start
  2. 3:37INTEGRATION TESTING
  3. 4:00CUCUMBER
  4. 4:38CAPYBARA
  5. 6:10DRIVER AGNOSTIC
  6. 11:20UNIT TESTING
  7. 13:13TEMPLATES
  8. 13:38STATIC TEMPLATE
  9. 15:25DEMO!
  10. 30:58FRONT END TESTING IS NOT HARD
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.