RE: New version of Test::LongString

2004-12-10 Thread Clayton, Nik
> I use Text::Differences for this, as it will show which lines are > different, rather than just the first 50 characters. Much > easier for me to diagnose problems. Something I put at the top of a lot of my test scripts is: if(eval "require Test::Differences; 1") { no warnings 'redefine';

Re: New version of Test::LongString

2004-12-09 Thread Rafael Garcia-Suarez
David Wheeler wrote in perl.qa : >> Test::LongString is one of those modules that you should be using if >> you're doing testing against large data elements, especially web pages. >> There are now examples in the docs that I hope make you say "Wow, this >> is cool, thanks RGS!" > > I use Text::Diff

Re: New version of Test::LongString

2004-12-09 Thread David Wheeler
On Dec 9, 2004, at 1:48 PM, Rafael Garcia-Suarez wrote: It's probably better adapted to text pages. I wrote Test::LongString to debug and test a serialization/deserialization protocol that was producing long binary strings. For this purpose, it was most helpful :) Ah, yeah. Test::Differences is lin

Re: New version of Test::LongString

2004-12-09 Thread David Wheeler
On Dec 9, 2004, at 7:22 AM, Andy Lester wrote: Test::LongString is one of those modules that you should be using if you're doing testing against large data elements, especially web pages. There are now examples in the docs that I hope make you say "Wow, this is cool, thanks RGS!" I use Text::Differ

New version of Test::LongString

2004-12-09 Thread Andy Lester
RGS has just released a new version of Test::LongString with patches I made last night. I added a new function contains_string(), and lots more docs. Test::LongString is one of those modules that you should be using if you're doing testing against large data elements, especially web pages.