AI summary not available
This video doesn't have a transcript yet
Transcript not available
This video doesn't have captions
Start a conversation
Ask anything about RubyConf 2022: RSpec: The Bad Parts by Caleb Hearth
100/100 free messages remaining
AI responses may be inaccurate. Verify important information.
RubyConf 2022: RSpec: The Bad Parts by Caleb Hearth
Ruby Central
1.3K views
Feb 6, 2023
21:58
RSpec is good, but it’s even better with less of it. Looking at a realistic example spec, we’ll learn why parts of RSpec like let, subject, shared_examples, behaves like, and before can make your tests hard to read, difficult to navigate, and more complex. We'll discuss when DRY is not worth the price and how we can avoid repetition without using RSpec's built-in DSL methods. In the end, we'll look at what's left. RSpec: The Good Parts.