Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.