Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libtest-cgi-multipart-perl

support for testing posting of multi-part form data

It is quite difficult to write test code to capture the behaviour of CGI or similar objects handling forms that include a file upload. Such code needs to harvest the parameters, build file content in MIME format, set the environment variables accordingly and pump it into the the standard input of the required CGI object. This module provides simple methods so that having prepared suitable content, the test script can simulate the submission of web forms including file uploads.

Moreover a test script is not always the best place to prepare content. Rather a test script would rather specify requirements for a file a upload: type, size, mismatches between the file name and its contents and so on. This module cannot hope to provide such open ended functionality but it can provide extension mechanisms.

Test::CGI::Multipart works with CGI (the default), CGI::Minimal and CGI::Simple. In principle it ought to work with all equivalent modules however each module has a slightly different interface when it comes to file uploads and so requires slightly different test code.

Homepage:
Package version:0.0.3-1
Architecture:all
Distribution:Debian
Filename:libtest-cgi-multipart-perl_0.0.3-1_all.deb

/usr/share/man/man3/Test::CGI::Multipart.3pm.gz

Test::CGI::MultipUser3Contributed Perl DocuTest::CGI::Multipart(3pm)



NAME
       Test::CGI::Multipart - Test posting of multi-part form data

VERSION
       This document describes Test::CGI::Multipart version 0.0.3

SYNOPSIS
           use Test::CGI::Multipart;

           my $tcm = Test::CGI::Multipart;

           # specify the form parameters
           $tcm->set_param(name='email',value=>'
more»

/usr/share/man/man3/Test::CGI::Multipart::Gen::Image.3pm.gz

Test::CGI::MultipUser:ContributTest::CGI::Multipart::Gen::Image(3pm)



NAME
       Test::CGI::Multipart::Gen::Image - Generate image test data
       for multipart forms

VERSION
       This document describes Test::CGI::Multipart::Gen::Image
       version 0.0.3

SYNOPSIS
           use Test::CGI::Multipart;
           use Test::CGI::Multipart::Gen::Image;

           my $tcm = Test::CGI::Multip
more»

/usr/share/man/man3/Test::CGI::Multipart::Gen::Text.3pm.gz

Test::CGI::MultipUser:ContributeTest::CGI::Multipart::Gen::Text(3pm)



NAME
       Test::CGI::Multipart::Gen::Text - Generate text test data for
       multipart forms

VERSION
       This document describes Test::CGI::Multipart::Gen::Text
       version 0.0.3

SYNOPSIS
           use Test::CGI::Multipart;
           use Test::CGI::Multipart::Gen::Text;

           my $tcm = Test::CGI::Multipart;
more»

/usr/share/doc/libtest-cgi-multipart-perl/changelog.Debian.gz

libtest-cgi-multipart-perl (0.0.3-1) unstable; urgency=low

  * Initial Release. (Closes: #608883)


more»

/usr/share/doc/libtest-cgi-multipart-perl/changelog.gz

Revision history for Test-CGI-Multipart

v0.0.3  Mon Sep 13 2010
       CGI >= 3.41 dependency due t
more»

/usr/share/doc/libtest-cgi-multipart-perl/copyright

Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Maintainer: 
more»

Browse inside libtest-cgi-multipart-perl_0.0.3-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libtest-cgi-multipart-perl_0.0.3-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com