Test Suite Refactoring


Notes:

Test Fudging

The 'fudge' pre-processor allows per-implementation skip/todo markers

Typical usage in test file:

# tests on which an implementation dies:
#?rakudo skip 'NaN not implemented'
is(sqrt(-1), NaN, 'sqrt(-1) is NaN');

# test that just produce the wrong result:
#?rakudo todo 'higher math'
is(2**2, 4, 'power operator works');

Running A single Test File

To run a test file (and apply fudging) simply run the below from your perl6 directory:

make t/spec/S03-operators/autoincrement.t