~/talk

Minitest with Capybara: Tips, Tricks and Lessons Learned

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

Practical guidance on writing web tests in Ruby using Minitest, Rails Fixtures, and Capybara after moving away from RSpec and Factory Girl. Covers what to test, how the presenter structures tests, and lessons learned from writing hundreds of tests.

AI-written summary · about

  1. 0:00Introduction
  2. 2:12Minitest vs RSpec
  3. 6:26Fixtures vs Factory Girl
  4. 10:45Capybara architecture
  5. 14:41Rails 5.0 transaction issue
  6. 18:32Capybara setup in Rails
  7. 21:26Data cleaner myth
  8. 23:14Waiting for AJAX
  9. 25:41Rails 5.1 improvements
  10. 26:43Unit vs integration tests
  11. 28:08Testing strategy
~/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.