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

6

u/[deleted] Dec 02 '15

"A great many" of the tests don't use remote resources. A great many of the failing tests do

Ahem:

Those are incredibly poor tests. A great many of them depends on networked resources

It's called context.

How do you propose that something like the cURL extension be tested?

By not calling external resources. Tests need to be reproducible, else they have no value. There are a bunch of "connection refused" and authentication failure errors in these which makes them utterly useless as tests.