Functional Core, Imperative Shell: Gary Bernhardt on Testing
Confreaks · Talk · YouTube title: Ruby Conf 12 - Boundaries by Gary Bernhardt
Why it's here
HN recommends it as the canonical presentation of 'functional core, imperative shell' and a practical answer to unit versus integration testing.
What it covers
Gary Bernhardt's RubyConf 2012 talk on testing in isolation without mocking everything. It goes through behavior versus data, mutation versus immutability, and how a functional core with an imperative shell yields natural isolation and parallelism.