Skip to content

Instantly share code, notes, and snippets.

@joebew42
joebew42 / elixir-tdd-outside-in-material.md
Last active March 27, 2026 06:35
Some of the material for the tdd outside in hands-on session in Elixir

Materials for the TDD Outside-in hands-on session in Elixir

Writing a failing test first encourages the programmer to articulate clearly what they intend to build before building it. This extra awareness gives the programmer more opportunities to notice going in the wrong direction.

Source: Sooner, Not Faster Revisited

Where is my business?

interface GameRulesInputBoundary
void moveSouth()
end
interface GameRulesOutputBoundary
void moveSouthSucceed()
end
class GameRules implements GameRulesInputBoundary
def init(GameRulesOutputBoundary outputBoundary)