Using the standard Test::More framework, is it
possible to test whether what was printed to a
filehandle matches a predetermined string or list of
strings?
Consider the following:
use Test::More tests => 1;
is(get_data_count([1..39]), 39,
"should be 39 items");
sub
Jim Keenan wrote:
Using the standard Test::More framework, is it
possible to test whether what was printed to a
filehandle matches a predetermined string or list of
strings?
Would IO::Capture be of help here?
--
David Cantrell
David Cantrell wrote:
Jim Keenan wrote:
Using the standard Test::More framework, is it
possible to test whether what was printed to a
filehandle matches a predetermined string or list of
strings?
Would IO::Capture be of help here?
Looks promising. Hope to find time today to try it out and report
On Mon, Feb 07, 2005 at 12:46:51PM -0800, Jim Keenan wrote:
> Using the standard Test::More framework, is it
> possible to test whether what was printed to a
> filehandle matches a predetermined string or list of
> strings?
Any number of existing modules can be used which capture the output of
a f
On Tue, Feb 08, 2005 at 06:58:15AM +, Fergal Daly wrote:
> It seems to me that that would just hide other problems. This function is
> for comparing 2 arrays and if neither of them things passed in are actually
> arrays then it's quite right to issue a warning.
Test::More is designed to handl
On 7 Feb 2005, at 21:13, Michael G Schwern wrote:
On Mon, Feb 07, 2005 at 03:03:29PM +, Adrian Howard wrote:
Test::Unit, as mentioned by Curtis, has been abandoned.
Has it? I thought that the folk on [EMAIL PROTECTED] had taken
it on ?
http://groups.yahoo.com/group/PerlUnit/ shows some activity
QA'ers,
Once again I am trying to get a handle on how to track down failures
caught only under D::C or the debugger.
I've written coverage tests for Ima::DBI,as part of the Phalanx/Kwalitee
effort for Class::DBI. And its works fine except under the GUI debugger
or D::C
For plain make test w