Skip Menu |

This queue is for tickets about the IO-Prompt CPAN distribution.

Report information
The Basics
Id: 31191
Status: new
Priority: 0/
Queue: IO-Prompt

People
Owner: clintoncwolfe [...] yahoo.com
Requestors: andreas1234567 [...] hotmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Add tests
Date: Tue, 4 Dec 2007 11:57:50 +0000
To: <bug-io-prompt [...] rt.cpan.org>
From: Andreas Falch <andreas1234567 [...] hotmail.com>
The contents of the t directory in the current version of IO::Prompt is practically empty: $ cat -n /tmp/IO-Prompt-v0.99.4/t/* 1 use Test::More tests => 1; 2 3 BEGIN { 4 use_ok( 'IO::Prompt' ); 5 } 6 7 diag( "Testing IO::Prompt $IO::Prompt::VERSION" ); 8 #!perl -T 9 10 use Test::More; 11 eval "use Test::Pod::Coverage 1.04"; 12 plan skip_all => "Test::Pod::Coverage 1.04 required for testing POD coverage" if $@; 13 all_pod_coverage_ok(); 14 #!perl -T 15 16 use Test::More; 17 eval "use Test::Pod 1.14"; 18 plan skip_all => "Test::Pod 1.14 required for testing POD" if $@; 19 all_pod_files_ok(); I assume the contents of the examples folder could very well be transformed into proper tests (e.g. using Test::More). $ ls /tmp/IO-Prompt-v0.99.4/examples/ clear.pl default.pl lingua.pl num.pl require.pl underscore.pl cmdline.pl hand.pl menu.pl passwd.pl to.pl while_until.pl data.pl interactive.pl nonl.pl record.pl tty.pl yesno.pl Best regards, Andreas F. -- Show quoted text
_________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx