Teaching Capybara Testing - An Illustrated Adventure
July 14, 2023
31 min
Free
ruby
ruby-on-rails
capybara
rspec
testing
end-to-end-testing
acceptance-testing
test-driven-development
behavior-driven-development
web-development
accessibility
selenium
Description
This talk, "Teaching Capybara Testing - An Illustrated Adventure," by Brandon Weaver at RailsConf 2023, explores the importance of end-to-end testing using Capybara. It illustrates the differences between unit, integration, and end-to-end tests, emphasizing how the latter provides crucial user-centric validation. The presentation delves into configuring Capybara, writing effective tests, and strategies for making tests less brittle by prioritizing human-like interaction and accessibility. The talk uses a narrative approach, featuring characters like Red the lemur and Grant the Capybara, to make the concepts engaging and understandable.