# Fake it (TDD)

> One of three strategies in test-driven development for quickly getting a green bar. Start by returning a constant, then gradually replace it with real code.

One of three strategies in [test-driven development](https://wiki.g15e.com/en/pages/Test-driven%20development.txt) for quickly getting a <green bar>. Start by returning a constant, then gradually replace it with real code.

## Other strategies

- [Obvious implementation](https://wiki.g15e.com/pages/Obvious%20implementation%20(TDD.txt)): If an obvious implementation comes to mind immediately, just write it.
- [Triangulation](https://wiki.g15e.com/pages/Triangulation%20(TDD.txt)): When it is unclear how to refactor, add a new failing test to draw out a general solution that passes multiple tests.