Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore the pitfalls of RSpec in this insightful conference talk from RubyConf 2022. Delve into a realistic example spec to understand why certain RSpec features like let, subject, shared_examples, behaves like, and before can hinder test readability, navigation, and simplicity. Learn when the DRY principle may not be beneficial and discover alternative approaches to avoid repetition without relying on RSpec's built-in DSL methods. Conclude by identifying the most effective aspects of RSpec, focusing on "The Good Parts" that truly enhance your testing experience.