|
|
|
|
|
by MoreQARespect
226 days ago
|
|
1. Write test that generates an artefact (e.g. picture) where you can check look and feel (red). 2. Write code that makes it look right, running the test and checking that picture periodically. When it looks right, lock in the artefact which should now be checked against the actual picture (green, if it matches). 3. Refactor. The only criticism ive heard of this is that it doesnt fit some people's conceptions of what they think TDD "ought to be" (i.e. some bullshit with a low level unit test). |
|