GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Text::TestBase(3) User Contributed Perl Documentation Text::TestBase(3)

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

    use Text::TestBase;

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

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

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.

"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

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

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

Copyright (C) Tokuhiro Matsuno

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

2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.