Hi,

partly in preparation for GSoC I'd like to hear a few opinions on the
test suite

1) Most tests have a 'use v6-alpha;' line at the top. IMHO that's a bad
idea, because in the end we'll want to test v6, not v6-alpha (which I
think isn't even cleanly defined). Should we s/v6-alpha/v6/g the test
suite? I think yes, but I'd like some feedback.

2) Should we test for the absence of functions? Somebody on #perl6
mentioned that pugs implements sum(), although it's not in the spec (and
probably won't be, because [+] is just three digits as well ;-).
IMHO the presence of non-specced builtins is an error. So should we have
 tests like this:
dies_ok sum(1+2), 'no builtin sum()';

It's clear that we can't test for all possible builtins, but we could at
least catch the most common mistakes.

Cheers,
Moritz


-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to