MATSUNO★Tokuhiro > Text-TestBase-0.10 > Text::TestBase

Download:
Text-TestBase-0.10.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.10   Source   Latest Release: Text-TestBase-0.12

NAME ^

Text::TestBase - Parser for Test::Base format

SYNOPSIS ^

    use Text::TestBase;

    my $parser = Text::TestBase->new();
    $parser->parse(<<'...');
    === hogehoge
    --- input: yyy
    --- got: xxx
    ...

DESCRIPTION ^

Text::TestBase is a parser for Test::Base format.

MOTIVATION ^

I love Test::Base. But it's bit too magical. It uses Spiffy, and it depends to YAML. Test::Base breaks my distribution sometime. I need more simple implementation for Test::Base format.

METHODS ^

my $parser = Text::TestBase->new();

Create new parser instance.

$parser->parse($src: Str): List of Text::TestBase::Block

Parse $src and get a list of Text::TestBase::Block

AUTHOR ^

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

SEE ALSO ^

Most of the code was taken from Test::Base, of course.

LICENSE ^

Copyright (C) Tokuhiro Matsuno

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: