THE VIDEO SHELF · testing strategy
Rails Conf 2013 The Magic Tricks of Testing by Sandi Metz
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 HN readers recommended it
HN recommends it as an incredible talk whose testing principles apply beyond Ruby.
This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.
Video & recommendation details
- Creator / channel
- Confreaks
- Topic
- testing strategy
- Format
- talk
- Level
- intermediate
- HN recommenders in dataset
- 5
- HN mentions in dataset
- 5
- Recommendation years in dataset
- 2013–2019
These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.
From the original HN conversations
Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.
What I wish people had told me about testing: * You write tests in accordance with a pattern: 1. Arrange 2. Act 3. Assert 4. Annihilate If you annihilate your test data with configuration options, and you abstract your "arranging" into factories and custom methods, …
AlwaysBCoding on Hacker News · 2013-09
In Testing code is simpleShout out for Sandi Metz book POODR, and her Railsconf talk The Magic Tricks of Testing, if you're a rubyist (though the principles hold true for non-ruby OO programmers too). [VIDEO]
richardjordan on Hacker News · 2014-01
In The Failures of "Intro to TDD"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: [VIDEO] . I have used this methodology a lot …
matchmike1313 on Hacker News · 2018-01
In Ask HN: How much time do you invest in writing tests?
Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.