On Tue, Apr 15, 2014 at 10:46 AM, Florian Anderiasch <ml@anderiasch.de>wrote:
>
>
> On 04/14/2014 09:26 PM, Sebastian Bergmann wrote:
> > Am 14.04.2014 19:56, schrieb Stas Malyshev:
> >> As promised, I have created an RFC on unit test policy, here:
> >> https://wiki.php.net/rfc/travis_ci
> >
> > Nitpicking: To the best of my knowledge, PHP does not have a single
> > unit test. PHPT tests, of which we have many, are integration tests.
>
> If
>
> https://github.com/php/php-src/blob/master/ext/standard/tests/strings/bin2hex.phpt
> (and most of the other function tests) is not a unit test I'm not sure
> how you would set the requirements.
>
> Greetings,
> Florian
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
they are still testing our PHP_FUNCTION() macro, and
zend_parse_parameters(), etc. instead of testing the php_bin2hex() function.
from the userland POV, they could be seen as unit tests, but they still
test the given unit from a mile away through multiple layers of cruft.
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu