TDD Rules
Rules of TDD
- You are not allowed to write alien production code before writing failing tests.
- You are not allowed to write more test code than is required to fail.
- You are not allowed to write more code than is required to pass the failing test.