HTML::FormHandler::Test - provides is_html method used in tests
Simple 'is_html' method for testing form rendering against an expected value without having to fuss with exactly matching newlines and spaces.
which uses HTML::Parser.
See numerous examples in the 't/render' directory.
my $form = MyApp::Form::Basic->new;
my $expected = '<form html>';
is_html( $form->render, $expected, 'form renders ok' );
FormHandler Contributors - see HTML::FormHandler
This software is copyright (c) 2014 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.