Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have. I call it snapshot test driven development. You put the preconditions in, generate and record the graphics as an artefact at runtime and when it looks right, freeze it.


But that isn't TDD, no line of code should be written without broken tests.


Yes it is. Until the artefact which has been visually validated is locked in it is still a broken test.

You can argue semantics until you're blue in the face it still follows red-green-refactor and it confers the same benefits as TDD.


Your nickname tells me you are not talking bs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: