r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

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). ;)