HTML::FormHandler::Test(3pm)

HTML::FormHandler::Test3pm

Provides is_html method used in tests

Usage

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' );

Version

version 0.40068

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12–13

Author

FormHandler Contributors - see HTML::FormHandler

From libhtml-formhandler-perl 0.40068-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.