RubyConf 2022: RSpec: The Bad Parts by Caleb Hearth

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=_UFE0t2Sgaw



Duration: 21:58
147 views
4


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


2023-03-07RubyConf 2022: Solidarity not Charity and Collective Liberation by Mae Beale
2023-03-07RubyConf 2022: What does "high priority" mean? The secret to happy queues by Daniel Magliola
2023-03-07RubyConf 2022: Writing Ruby, just not in English! by Ratnadeep Deshmane (rtdp)
2023-03-07RubyConf 2022: Building an education savings platform, with Ruby! by Tyler Ackerman
2023-03-07RubyConf 2022: Static typing with RBS in Ruby by Gaurav Kumar Singh
2023-03-07RubyConf 2022: Ruby Archaeology: Forgotten web frameworks by Nick Schwaderer
2023-03-07RubyConf 2022: Building a Commercial Game Engine using mRuby and SDL by Amir Rajan
2023-03-07RubyConf 2022: Building Native GUI Apps in Ruby by Andy Maleh
2023-03-07RubyConf 2022: Improving the development experience with language servers by Vinicius Stock
2023-03-07RubyConf 2022: The Power of 'No' by Glenn Harmon
2023-03-07RubyConf 2022: RSpec: The Bad Parts by Caleb Hearth
2023-03-07RubyConf 2022: From beginner to expert, and back again by Michael Toppa
2023-03-07RubyConf 2022: In Defense of Ruby Metaprogramming By Noel Rappin
2023-03-07RubyConf 2022: Splitting: the Crucial Optimization for Ruby Blocks by Benoit Daloze
2023-03-07RubyConf 2022: Ruby Lambdas by Keith Bennett
2023-03-07RubyConf 2022: Everything a Microservice: The Worst Possible Intro to dRuby by Kevin Kuchta
2023-03-07RubyConf 2022: Never again without a contract: dry-validation by Espartaco Palma
2023-03-07RubyConf 2022: Don't @ me! Faster Instance Variables with Object Shapes by Aaron Patterson
2023-03-07RubyConf 2022: scip-ruby - A Ruby indexer built with Sorbet by Varun Gandhi
2023-03-07RubyConf 2022: Keynote by Suzan Bond
2023-03-07RubyConf 2022: I'm in love with Mermaid by Carolyn Cole



Tags:
Ruby
RubyConf
Ruby on Rails
Ruby Language
Ruby Friends
Ruby Gems