Learn how to improve your RSpec tests by avoiding common pitfalls such as overusing let, subject, shared_examples, behaves like, and before. Discover when to prioritize simplicity over DRY principles and explore alternative approaches to RSpec's DSL methods. By the end of the course, you will have a better understanding of how to streamline your RSpec tests and focus on the essentials. Ideal for Ruby developers looking to enhance their testing practices.
Overview
Syllabus
RubyConf 2022: RSpec: The Bad Parts by Caleb Hearth
Taught by
Ruby Central