hackertube.io

Rails Conf 2013 The Magic Tricks of Testing by Sandi Metz

Confreaks · talk · Watch on YouTube

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

  1. “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”

  2. “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"”

  3. “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?”

  4. “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”

  5. “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