Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.545.492 Times

Test::FormValidator 0.07

Company: Michael Graham
Date Added: September 17, 2013  |  Visits: 222

Test::FormValidator

Report Broken Link
Printer Friendly Version


Product Homepage
Download (16 downloads)



This is a module for testing your Data::FormValidator profiles. It uses the standard Perl test protocol (TAP) and prints out the familiar 'ok/not ok' stuff you expect.<br /><br />Basically it lets you use a test script to quickly throw a lot of different input scenarios at your profiles and make sure they work properly.<br /><br />You can test for missing fields:<br /><br /> # Test a profile that requires an email address and a password - if we<br /> # provide only a name, then the password should be flagged as missing<br /> $tfv->check(<br /> 'email' => 'test@example.com',<br /> );<br /> $tfv->missing_ok(['password'], "caught missing passwd");<br /><br />You can also test for invalid fields:<br /><br /> # Test a profile that should catch a bad email address<br /> $tfv->check(<br /> 'email' => 'test-at-example.com',<br /> );<br /> $tfv->invalid_ok(['email'], "caught bad email address");<br /><br />And if you have custom constraint methods, you can confirm that they each work properly:<br /><br /> # Test a profile that requires passwords longer than 5 characters and<br /> # they have to contain both letters and numbers<br /> $tfv->check(<br /> 'new_pass1' => 'foo',<br /> 'new_pass2' => 'foo',<br /> );<br /> $tfv->invalid_ok(<br /> {<br /> 'new_pass1' => [qw(too_short need_alpha_num)],<br /> },<br /> "caught short, non-alpha-numeric password");<br /><br />And you can also test that the form fields in your HTML form match the list of fields in your profile:<br /><br /> $tfv->html_ok('/path/to/template.html', 'Template matches profile');

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Address Characters Constraint Custom Email Fields Foo Methods Missing Pass Password Passwords Profile Profiles Properly Quotcaught Requires Tfvgtcheck
Users rating: 0/10

License: Freeware Size: 20.48 KB
USER REVIEWS
More Reviews or Write Review


TEST::FORMVALIDATOR RELATED
Modules  -  Custom Comment Fields 0.1.1
Create additional custom comment fields per post type, including built in post types. Install : 1. Upload custom-comment-fields and its contents to the /wp-content/plugins/ directory 2. Activate the plugin through the 'Plugins' menu in WordPress...
51.2 KB  
Form Processors  -  NateMail 3.0.14
NateMail script will allow you to have your form contents processed and sent to you in an email.Features:- Prevents spamming abuse with limited recipients- Required Fields (not empty)- Email Fields (must be an email address)- Number Fields (must...
245.76 KB  
Mail Clients  -  Vodamail Email Verifier Free Edition 9.61
This FREE software checks for existence of an email address. It verifies / validates email addresses in a list, removes invalid entries and clean the list. Performs three levels of verification - syntax level,domain level and server level with a...
2.98 MB  
Programming  -  Attrib4j - Custom metadata for Java 0.9.0
Attrib4j provides support for using creating and manipulating custom attributes associated with classes, fields, and methods in Java using tools such as javadoc and byte code manipulation libraries.
834.77 KB  
Finance  -  A-PDF Label (PDF Mail Merge) 2.0.0
A-PDF Label is a simple, lightning-fast and powerful desktop utility program that Batch add formatted dynamic Label fields (mailing label) such as Name, Address, City to custom PDF templates (such as in form letters, on envelopes, business card,...
 
Libraries  -  Chilkat Bounce C++ Library 9.2.1
Chilkat Bounce recognizes a variety of bounced mail messages and can extract the email address from any bounced email.
 
Modules  -  Welcome Email username & password 1.0
This contribution gives your customers an email that they can save or print so they can remember the email address they used to signup at your store and the password.In addition, there is also a note added to the welcome email that let's customers...
 
Mail Clients  -  yourMail 1.0.2.75
yourMail is an innovative Outlook add-on which offers users an intelligent support, based on email best practice methods, help to reduce the time and effort involved in manual emails management. yourMail brings together emails, attachments and...
 
Communication Tools  -  Mail Cleaner for Windows 2.0
Mail Cleaner for Windows is a quick and easy way to clean your email of ugly characters from forwarded email. Get rid of ugly >>> characters
1.44 MB  
Development Tools  -  Chilkat Bounce C Library 1.0
Chilkat Bounce recognizes a variety of bounced email messages and can extract the email address from a bounced email. Features: - Recognize hard bounces and return the bounced email address. - Recognize soft bounces and return the bounced email...
 
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB