4 ms·
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 thi
by fjp 7y ago
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.