The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

Version 0.1002, released 2015-11-26.

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

SOURCE

https://github.com/Csson/p5-mojox-customtemplatefileparser

HOMEPAGE

https://metacpan.org/release/MojoX-CustomTemplateFileParser

AUTHOR

Erik Carlsson <info@code301.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Erik Carlsson.

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