Sandi Metz: Testing Public Interfaces, Not Implementations
Confreaks · Talk · YouTube title: Rails Conf 2013 The Magic Tricks of Testing by Sandi Metz
Why it's here
HN recommends it as an incredible talk whose testing principles apply beyond Ruby.
What it covers
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.