html::formhandler::test(3pm) debian man page | unix.com

Man Page: html::formhandler::test

Operating Environment: debian

Section: 3pm

HTML::FormHandler::Test(3pm)				User Contributed Perl Documentation			      HTML::FormHandler::Test(3pm)

NAME
HTML::FormHandler::Test - provides is_html method used in tests
VERSION
version 0.40013
SYNOPSIS
Simple 'is_html' method for testing form rendering against an expected value without having to fuss with exactly matching newlines and spaces. Uses HTML::TreeBuilder, which uses HTML::Parser. See numerous examples in the 't/render' directory. use Test::More; use HTML::FormHandler::Test; use_ok('MyApp::Form::Basic'); my $form = MyApp::Form::Basic->new; $form->process; my $expected = '<form html>'; is_html( $form->render, $expected, 'form renders ok' );
AUTHOR
FormHandler Contributors - see HTML::FormHandler
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Gerda Shank. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-25 HTML::FormHandler::Test(3pm)
Related Man Pages
html::formhandler::blocks(3pm) - debian
html::formhandler::field::checkbox(3pm) - debian
html::formhandler::traitfor::captcha(3pm) - debian
html::formhandler::traitfor::i18n(3pm) - debian
html::formhandler::widget::form::simple(3pm) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
Find columns in a file based on header and print to new file
New UNIX and Linux History Sections