Porting Tests to Perl 6
Just reading Brent Laabs post on Porting a Module to Perl 6 and two things occurred to me. The first was that I should start getting into Perl 6 sooner rather than later and get the few modules I'm involved with changed over, ready for the big day.
The second and more important one is that, if I'm to assure myself that the module behaves in the same way as the Perl 5 module, the original tests need to pass. I would have invested much on those tests to verify the module works the way I think it should. To avoid finger trouble in re-writing those tests, I would sleep better if some kind soul could create the bit of magic that will parse [your favourite testing framework] and run it against my future Perl 6 module. Or, conversely, to write Perl 6 tests that run against Perl 5 modules and verify that the new suite is identical to the old suite, so I can then proceed with porting the module.
Maybe this is already possible in Rakudo. I don't even know how much I don't know.
Leave a comment