
18: TDD and Phoenix with German Velasco
Thinking Elixir Podcast
00:00
The Red, Green Refactor Cycle in TDD
TDD at its core is the red, green refactor cycle. And now the book dives in large part into BDD as well. You start with a test that is, in my case, a feature test because it's the web layer,. And you get that red, that test failure, that layer. And you keep running that test until you drop into what we call the inner circle or the inner layer. That's when you begin to have test failures related to your core of your domain.
Transcript
Play full episode