Sha256: 03e5520bdf5b5098e6c14c0d1b0b1e0ad4912c2e383b782a93345fb425cdceb4
Contents?: true
Size: 544 Bytes
Versions: 78
Compression:
Stored size: 544 Bytes
Contents
#!/usr/bin/env perl6 use v6; use Test; use YAML::Parser::LibYAML; use lib (my $base-dir = $?FILE.IO.resolve.parent.parent).add('lib'); use Exercism::Generator; bail-out if $base-dir.add('problem-specifications') !~~ :d; for $base-dir.add('exercises').dir.sort { if .add('.meta/exercise-data.yaml') ~~ :f { todo ''; is .add("{.basename}.t").slurp, Exercism::Generator.new(data => yaml-parse(~.add: '.meta/exercise-data.yaml'), exercise => .basename).test, "{.basename}: test suite matches generated"; } } done-testing;
Version data entries
78 entries across 78 versions & 1 rubygems