Teaching Capybara Testing - An Illustrated Adventure

July 14, 2023 31 min Free

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.