NAME

MojoX::CustomTemplateFileParser::Plugin::To::Test - Create tests

SYNOPSIS

use MojoX::CustomTemplateFileParser;

my $parser = MojoX::CustomTemplateFileParser->new(path => '/path/to/file.mojo', output => ['Test']);

print $parser->to_test;

DESCRIPTION

MojoX::CustomTemplateFileParser::Plugin::To::Test is an output plugin to MojoX::CustomTemplateFileParser.

to_test()

This method is added to MojoX::CustomTemplateFileParser objects created with output => ['Test'].

It returns a string ready to be put in a Test::More file.

SEE ALSO

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT

Copyright 2014- Erik Carlsson

LICENSE

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