Hi
I think there are two user scenarios to consider:
(a) User works only on platform X and extpects the PHP function to
return exactly what he would see from (say) the equivalent C function
(b) User works on multiple platforms and wants his PHP app to behave
exactly the same way across all of them.
For writing tests it sounds like we are agreeing to follow scenario (a)
but to makes changes to the doc so that the user in scenario (b) knows
why his application might not work.
I guess the best way would be to divide the huge tests into a set of
nano-tests and:
a) either skip some of them on the platforms that are known to be broken;
b) or write separate tests for those platforms.
Yes - I really like this suggestion. It means we can have strict tests
where the behaviour is identical on all systems and we have to make
decisions as we go along on how important it is to have separate test
cases or less strict ones where behaviour is known to be OS dependent.
Zoe Slattery
IBM
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php