Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

RSpec: The Bad Parts - Avoiding Common Pitfalls for Better Testing

Confreaks via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the pitfalls of RSpec in this 22-minute conference talk from RubyConf 2022. Dive 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 might not be beneficial and discover alternative approaches to avoid repetition without relying on RSpec's built-in DSL methods. Conclude by examining the remaining valuable aspects of RSpec, focusing on its strengths and most effective components.

Syllabus

RubyConf 2022: RSpec: The Bad Parts by Caleb Hearth

Taught by

Confreaks

Reviews

Start your review of RSpec: The Bad Parts - Avoiding Common Pitfalls for Better Testing

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.