News for hackers. Stuff that matters.
Re:Ask HN: What change in your programming technique has bee... by fjp on Thursday January 23, 2020 @04:29PM (#22132335)
I guess to me:

1) Writing a test that calls an API and asserts that everything resulted correctly from it is more of an integration test in my opinion - in this case I can agree this can be written beforehand.

2. If I'm changing my tests as I write my code then it doesn't matter if I go test-code-test-code vs code-test-code-test. I have still changed my definition of "correct" on the fly based on something I found out as I implemented.

There are no comments on this comment yet.