Skip to content
Data driven development for Perl6
Other
  1. Other 100.0%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/Test
t
.gitignore
.travis.yml
LICENSE
META6.json
README.md

README.md

Build Status

NAME

Test::Base - Data driven development for Perl6

SYNOPSIS

    use v6;
    use Test;

    use Test::Base;

    for blocks($=finish) {
        is EVAL($_<input>), .expected;
    }

    done-testing;

    =finish

    === simple
    --- input: 3+2
    --- expected: 5

    === more
    --- input: 4+2
    --- expected: 6

DESCRIPTION

Test::Base is a port of ingy's perl5 Test::Base for Perl6.

FUNCTIONS

  • blocks(Str $src)

Parse $src as a data source and returns test data.

AUTHOR

Tokuhiro Matsuno tokuhirom@gmail.com

COPYRIGHT AND LICENSE

Copyright 2015 Tokuhiro Matsuno

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

You can’t perform that action at this time.