tdd-android
Installation
SKILL.md
Test-Driven Development for Android
The Iron Law
"If you didn't watch the test fail, you don't know if it tests the right thing."
Production code CANNOT exist without a preceding failing test.
RED-GREEN-REFACTOR Cycle
🔴 RED: Write Failing Test
@Test
fun `addTask with empty title returns validation error`() {
val result = useCase.invoke(Task(title = ""))