1. Define the function or method signature.
2. Write a failing test case (RED).
3. Run the test to confirm it fails.
4. Implement the minimal code to pass the test (GREEN).
5. Run the test to confirm it passes.
6. Refactor the code if needed, ensuring tests still pass.
7. Repeat the process for new requirements.