Tests fail under load

2007-03-27 Thread Kirrily Robert
We've got a situation where we have a suite of tests for a web app. It starts of testing the lib/ and whatnot, but eventually gets to the point where it uses Test::WWW::Mechanize to go fetch stuff from the developer's sandbox website and do a sanity check on the web application itself. The

RE: Fixtures

2007-02-13 Thread Kirrily Robert
Thanks all, especially Ovid who came closest to answering the actual question, i.e. can someone explain it to me *in a perlish way*. Ovid's example used Test::Class's setup/teardown; would anyone else be able to provide confirm that I'm making sense in the following Test::Harness/Test::More style

Fixtures

2007-02-12 Thread Kirrily Robert
Does anyone here understand fixtures as a testing concept, and could they please explain it to me in a Perlish way? At least half of what I've heard described is what I usually achieve with a t/data/ directory, and another half is what I'd do by writing a specialized Test::Builder-based

RE: Anyone experiencing problems with rt.cpan.org?

2006-07-09 Thread Kirrily Robert
There were some people talking about problems with it the other day (Thursday?) on magnet #perl. I think Adam Kennedy mentioned slowness, and Jesse was around at the time and sounded like he was going to look into it. Yeah, I know, vague. K.

Info from Devel::Cover

2006-05-11 Thread Kirrily Robert
the thing that generates the coverage reports currently is C code or something? So isn't there anything CPANish to do this? K. -- Kirrily Robert -- [EMAIL PROTECTED] -- http://infotrope.net/

Re: Trends in Code Quality

2006-03-01 Thread Kirrily Robert
I'm with Aristotle. I think it's an urge that's come out of the development community -- specifically, *certain* development communities -- rather than from an end-user desire for quality. Many of the best -tested pieces of software are the infrastructure type things that only developers

SKIP blocks and the debugger

2006-01-09 Thread Kirrily Robert
Does anyone else find that SKIP: { } blocks bugger up the debugger? I'll be happily bouncing on the n key to get to round about the vicinity of the failing test, and then blam, it sees a skipped test and just fast-forwards to the end. K. -- Kirrily Robert [EMAIL PROTECTED] http

Re: Test::Builder: Multiple test libraries in one test.

2001-12-19 Thread Kirrily Robert
In perl.qa, you wrote: Candidates for this sort of thing would be CGI::Test, Test::Cmd, Test::Unit, Test::Mail and ExtUtils::TBone. And, of course, Barrie's Test::Differences. Actually, Test::Mail doesn't work like that. It's more or less a wrapper around Test::More that handles incoming

Re: is() with arbitrary comparisions

2001-12-19 Thread Kirrily Robert
In perl.qa, you wrote: I think I have a solution to the rigidity of is(). ie. something with the diagnostic output of is(), but the flexibility of ok(). It all makes sense, so what I really need is a better name. How about: compare($foo, =, $bar) K. -- Kirrily 'Skud' Robert - [EMAIL

Re: Test::Builder: Multiple test libraries in one test.

2001-12-19 Thread Kirrily Robert
In perl.qa, you wrote: Candidates for this sort of thing would be CGI::Test, Test::Cmd, Test::Unit, Test::Mail and ExtUtils::TBone. And, of course, Barrie's Test::Differences. Actually, Test::Mail doesn't work like that. It's more or less a wrapper around Test::More that handles incoming

Re: is() with arbitrary comparisions

2001-12-19 Thread Kirrily Robert
In perl.qa, you wrote: I think I have a solution to the rigidity of is(). ie. something with the diagnostic output of is(), but the flexibility of ok(). It all makes sense, so what I really need is a better name. How about: compare($foo, =, $bar) K. -- Kirrily 'Skud' Robert - [EMAIL

Re: Test::Harness in Test-SDK conflicts with Perl

2001-10-09 Thread Kirrily Robert
In perl.qa, you wrote: On Tue, Oct 09, 2001 at 10:10:33PM +0200, Johan Vromans wrote: Michael G Schwern [EMAIL PROTECTED] writes: Debian has the beginnings of that. perl-base is the minimum necessary to have a useful Perl, basically a binary, the perl man page, and a handful of critical

Re: Test::Harness in Test-SDK conflicts with Perl

2001-10-09 Thread Kirrily Robert
In perl.qa, you wrote: On Tue, Oct 09, 2001 at 10:10:33PM +0200, Johan Vromans wrote: Michael G Schwern [EMAIL PROTECTED] writes: Debian has the beginnings of that. perl-base is the minimum necessary to have a useful Perl, basically a binary, the perl man page, and a handful of critical

Re: [PATCH] More Test::More stuff

2001-09-24 Thread Kirrily Robert
In perl.qa, you wrote: eval { ...code... }; is( $@, '' ); Yeah, except that doesn't print out $@ in case of failure. If I'm checking that no exception occurs I want to know what the exception is when it happens. But it does! It says something like: not ok 23 # Failed test 1

Re: What tests are failing on VMS?

2001-09-22 Thread Kirrily Robert
In perl.qa, you wrote: So like I said, either tests are habitually failing on vmsperl, or nobody's compiled Perl on OS/390 in a long time (I wouldn't be surprised if that were true). I assume you mean MVS? K. -- Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/ We have only

Re: Test::Harness::Straps

2001-09-20 Thread Kirrily Robert
In perl.qa, you wrote: On Thu, Sep 20, 2001 at 10:35:49AM -0400, Shane Landrum wrote: So, I've just found Test::Harness::Straps--- thanks to Skud for pointing me in the right direction. Anyone else using it? I'm working on using it to write a web-based test summarizer for my users.

Re: Wiki Wiki not Wiki Working

2001-09-19 Thread Kirrily Robert
In perl.qa, you wrote: Will do. No! Read on! It's been done already. K. -- Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/ Any sufficiently fucked-up technology is indistinguishable from magic.

Re: Wiki Wiki not Wiki Working

2001-09-19 Thread Kirrily Robert
In perl.qa, you wrote: Will do. No! Read on! It's been done already. K. -- Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/ Any sufficiently fucked-up technology is indistinguishable from magic.

Re: Wiki Wiki Working

2001-09-17 Thread Kirrily Robert
In perl.qa, you wrote: If someone would be so kind as to fill in TestTutorial from the latest version of Test::Tutorial? Done. -- Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/ Verbogeny is one of the pleasurettes of a creatific thinkerizer. -- Peter da Silva

Re: Wiki Wiki Working

2001-09-17 Thread Kirrily Robert
In perl.qa, you wrote: If someone would be so kind as to fill in TestTutorial from the latest version of Test::Tutorial? Done. -- Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/ Verbogeny is one of the pleasurettes of a creatific thinkerizer. -- Peter da Silva

ANNOUNCE: Test::Mail 0.03

2001-09-16 Thread Kirrily Robert
Now winging its way towards CPAN mirrors worldwide. I've implemented it pretty much as described the other day. Comments etc welcome. K. -- Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/ Sure, only 2 percent of the Internet population uses lynx, but they're the top 2

ANNOUNCE: Test::Mail 0.03

2001-09-16 Thread Kirrily Robert
Now winging its way towards CPAN mirrors worldwide. I've implemented it pretty much as described the other day. Comments etc welcome. K. -- Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/ Sure, only 2 percent of the Internet population uses lynx, but they're the top 2

Re: FAIL Module-InstalledVersion-0.02 cygwin-multi 1.3.2(0.3932)

2001-09-13 Thread Kirrily Robert
In perl.qa, you wrote: On Thu, 13 Sep 2001 19:41:39 -0400 Kirrily 'Skud' Robert [EMAIL PROTECTED] wrote: Anyone know what might cause this? The same reporter also had the same problem with CPAN-Test-Reporter. His Test::Harness needs upgrade? Yeah, I guess that'd be it. K. -- Kirrily

Re: Descriptive strings?

2001-06-20 Thread Kirrily Robert
On Tue, Jun 19, 2001 at 08:42:29PM -0400, Michael G Schwern wrote: | | I assume you're talking about make test? Test::Harness in | non-verbose mode (ie. make test) won't display any of that info. If | you set $verbose = 1 you'll see all the test output. For failed tests | it will just report

Descriptive strings?

2001-06-18 Thread Kirrily Robert
I'm not sure where's the best place to post this, but I imagine perl-qa might be a good start. Please let me know if it's the wrong place. I've been messing with various testing modules that I learnt about at YAPC, and I'm unclear about something. use Test::More no_plan; ok( nonblank(abc)