~/talk

Building the Rails ActionDispatch::SystemTestCase framework

Talkat RubyConf Colombia 2017 · 2017-09-08..09-09· [ruby-on-rails, testing]
slides:none on file

Rails 5.1 adds a built-in system test framework that wires Capybara and Selenium (defaulting to Chrome) into the test stack with zero app configuration, includes URL helpers, and runs separately via bin/rails test:system. It fixes transaction rollback by forcing threads to share the same DB connection, speeds up integration tests so system tests can inherit from them, and captures auto screenshots on failures. The feature ships after six months of work and community fixes that make it practical.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:48Why system testing in Rails
  3. 3:20What is a system test
  4. 4:24Demo of system test in action
  5. 7:22Challenges building system tests
  6. 9:51Learning Capybara from scratch
  7. 11:17Rails doctrine guiding design
  8. 13:44Default configuration choices
  9. 17:27Why Chrome over Firefox
  10. 18:31Driver options and screenshots
  11. 20:19Fixing database transaction issues
  12. 23:30Plumbing behind system tests
  13. 25:37Open source vs product work
  14. 27:40Managing open source opinions
  15. 30:33Balancing Rails and Capybara
  16. 32:00Merging unfinished features
  17. 34:27Open source contributions matter
  18. 35:09Closing and call to action
~/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.