Rails Conf 2013 The Magic Tricks of Testing by Sandi Metz
What it is
Sandi Metz's RailsConf 2013 talk offers practical guidelines for deciding what to test and how, so tests stay cheap and stable. She argues for testing the public interface rather than implementation and using mocks appropriately.
Why Hacker News recommends it
HN recommends it as an incredible talk whose testing principles apply beyond Ruby.
- 5 people recommended it
- 5 different months
- 1 strong recommendations
- first 2013, last 2019
What HN commenters said
“watch Sandi Metz' incredible RailsConf talk”
Sandi Metz on testing the interface rather than the implementation.
AlwaysBCoding, 2013-09 · Strong recommendation · in “Testing code is simple”
“Shout out for Sandi Metz book POODR, and her Railsconf talk The Magic Tricks of Testing”
Testing principles applicable beyond Ruby for OO programmers.
richardjordan, 2014-01 · Recommendation · in “The Failures of "Intro to TDD"”
“I would recommend watching this video by Sandi Matz on testing”
Methodology for deciding what to test.
matchmike1313, 2018-01 · Recommendation · in “Ask HN: How much time do you invest in writing tests?”
“I particularly like her advice on using mocks in tests appropriately.”
Sandi Metz advice on using mocks in tests appropriately.
teeray, 2018-11 · Recommendation · in “Measuring and Improving Your CI/CD Pipelines”
“There are many good strategies to make it easier that in my experience have yet to be well adopted”
Good strategies for making testing easier and less painful.
jakespracher, 2019-11 · Recommendation · in “Ask HN: Do you write tests before the implementation?”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: unit testing, ruby, mocks, object-oriented design, sandi metz
Also recommended by the same people
talk"Testing Distributed Systems w/ Deterministic Simulation" by Will WilsonStrange Loop Conference · 12 HN recommenders · 2014–2024
tutorialHow To Make Infrared Cooling Paint (Electricity Free Air Conditioning)NightHawkInLight · 4 HN recommenders · 2022–2025
tutorialA Tour of the Acme EditorRuss Cox · 11 HN recommenders · 2012–2026
other8-bit computer updateBen Eater · 14 HN recommenders · 2017–2023
talkRailsConf 2014 - All the Little Things by Sandi MetzConfreaks · 15 HN recommenders · 2015–2025
talk🚀 TDD, Where Did It All Go Wrong (Ian Cooper)DevTernity Conference · 11 HN recommenders · 2018–2024
talkBret Victor - Inventing on PrincipleRui Oliveira · 12 HN recommenders · 2013–2025
talkSolving Problems the Clojure Way - Rafal DittwaldClojure/north · 10 HN recommenders · 2019–2025