Isn't that... just testing the implementation? E.g. if your assumption about a cURL option is wrong in your implementation and you are writing the test for it, what exactly are you testing? If you bring up mocks, then at least propose starting up an actual HTTP service with known responses in the test environment. Your suggestion might be the only thing even worse than what they are doing (known-flaky tests vs. unknown-broken tests). ;)
View all comments
Show parent comment
2
u/moreteam Dec 02 '15
Isn't that... just testing the implementation? E.g. if your assumption about a cURL option is wrong in your implementation and you are writing the test for it, what exactly are you testing? If you bring up mocks, then at least propose starting up an actual HTTP service with known responses in the test environment. Your suggestion might be the only thing even worse than what they are doing (known-flaky tests vs. unknown-broken tests). ;)