Re: Test::Harness with modules that output to STDOUT

2004-08-24 Thread Ovid
--- Peter Kay <[EMAIL PROTECTED]> wrote: > Ok, what's the elegent way to ignore/dispose of the output the tested > module produces? What I do whenever this happens is to move the printing code to a subroutine or method and override that to capture the output. So if I have something like this:

Re: Test::Harness with modules that output to STDOUT

2004-08-24 Thread Adrian Howard
On 24 Aug 2004, at 16:04, Peter Kay wrote: I am attempting to write tests (using whichever Tests::...) for a module that will use Test::Harness. The module outputs to STDOUT (it just does). You might find http://www.mail-archive.com/[EMAIL PROTECTED]/msg01690.html of interest. [snip] So far,

Re: Test::DoubleQuotedEntities

2004-08-24 Thread Kirrily Skud Robert
On Tue, Aug 24, 2004 at 01:51:12PM -0400, David H. Adler wrote: > > > (oh, and as an aside I released a new Acme::Test::Buffy, with slightly > > improved documentation and spelling too - but no one cares about that) > > Says who? *I* care. And you have no idea how stupid I felt submitting an R

Re: Test::DoubleQuotedEntities

2004-08-24 Thread David H. Adler
On Tue, Aug 24, 2004 at 10:38:50AM +0100, Mark Fowler wrote: > I released another testing module yesterday: > > http://search.cpan.org/dist/Test-DoubleEncodedEntities/ I note that that's not the name in the subject of your mail. I hope this is the right one. :-) > (oh, and as an aside I rele

Test::Harness with modules that output to STDOUT

2004-08-24 Thread Peter Kay
I am attempting to write tests (using whichever Tests::...) for a module that will use Test::Harness. The module outputs to STDOUT (it just does). Now, in theory, Test::Harness currently ignores anything that doesn't start with "ok" or "not ok", but for whatever reason, when I have "no_plan",

Test::DoubleQuotedEntities

2004-08-24 Thread Mark Fowler
I released another testing module yesterday: http://search.cpan.org/dist/Test-DoubleEncodedEntities/ It detects strings like 'é' in your HTML, meaning it can detect the case when you've double encoded your entities. Anyone who spots any errors - please chuck 'em into RT. Patches agains