❝HN 片单

Rails Conf 2013 The Magic Tricks of Testing by Sandi Metz

Confreaks · 3 位 HN 用户推荐 · 2013–2018

  1. * Test the interface not the implementation: This was an eye opening realization about what to test. If you haven't seen it yet, watch Sandi Metz' incredible RailsConf talk - [link] - it's so good
    — AlwaysBCoding, 2013
  2. I spend about 30% of my time on a new feature writing tests. BTW that is in RoR which the primary language I code in. I would recommend watching this video by Sandi Matz on testing: [link] . I have used this methodology a lot to determine what I should test.
    — matchmike1313, 2018
  3. I’ve found that his zero-knowledge approach gives me a suite of tests that have high signal when they fail. Sandi Metz has also spoken extensively on testing, and I particularly like her advice on using mocks in tests appropriately. This talk of hers on the subject comes to mind: [link]
    — teeray, 2018

← HN 片单