RubyConf 2022: RSpec: The Bad Parts by Caleb Hearth
Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=_UFE0t2Sgaw
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.
Other Videos By Confreaks
Tags:
Ruby
RubyConf
Ruby on Rails
Ruby Language
Ruby Friends
Ruby Gems