e it with a new version that says
"Don't use me."
K.
--
Kirrily Robert
[EMAIL PROTECTED] [EMAIL PROTECTED]
http://infotrope.nethttp://search.cpan.org/author/SKUD
e it with a new version that says
"Don't use me."
K.
--
Kirrily Robert
[EMAIL PROTECTED] [EMAIL PROTECTED]
http://infotrope.nethttp://search.cpan.org/author/SKUD
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 pro
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
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 mod
e really good for new users of Perl.
: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.
I believe 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/
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
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
t; higher.
I did not look at any kwalitee levels for the modules that I have installed.
I need 'em, so I use 'em.
Robert
Dave Cross wrote:
On Fri, Aug 05, 2005 at 11:32:45AM -0400, Robert wrote:
I am creating my first module (finally) and I was told a while ago to
use Module::Starter. Which I did. I am fine there. When I look at the
code generated I see that all the POD stuff is inline while I prefer
to see POD
Thanks for the answers.
Robert
I just saw that this morning. I have no idea where that email address came
from as that is a real old address. I will have to check my settings when I
get back to work.
Robert
On 8/6/05 6:03 AM, in article [EMAIL PROTECTED], "Tels"
<[EMAIL PROTECTED]> wrote:
> -BEGIN
fine with that and will continue to chug along. If not, I will move it to
the end and I would make a request to the M::S author to have a command line
switch added to indicate which POD style to use (defaulting to whatever the
auther wishes of course).
Thanks!
Robert
"Andy Lester" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, May 06, 2005 at 11:43:53AM -0400, Robert ([EMAIL PROTECTED])
> wrote:
>> > Go look at Module::Starter.
>>
>> Seems it is not available as a PPM for ActiveStates P
On 5/6/05 1:50 PM, in article
[EMAIL PROTECTED], "Steve Peters"
<[EMAIL PROTECTED]> wrote:
> On Fri, May 06, 2005 at 11:43:53AM -0400, Robert wrote:
>> "Andy Lester" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>>>
"Andy Lester" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, May 05, 2005 at 10:12:14AM -0400, Robert ([EMAIL PROTECTED])
> wrote:
>> Is there an article on the current best practices about creating a module
>> with tests? I know there i
best
place to ask and I will re-direct my question.
Robert
Same here.
On 08/04/2005 20:02 Ken Williams wrote:
On Apr 8, 2005, at 12:32 PM, Michael G Schwern wrote:
die "NA: $reason";
Since, at the moment, we're having trouble putting together a system to
cover the possible reasons for an NA report let the module author
figure it
out. Its simple and m
I'm all for something like this, though I prefer "requires_libraries"
instead. (Listing libraries distinct from applications is a grey area,
so best to put them under one term.)
Come to think of it, why not "recommends_libraries" too?
What is needed is some standard set of library and applicatio
Is there a way tests to determine that a module cannot be installed on a
platform so that CPANPLUS or CPAN::YACSmoke can issue an "NA" (Not
Applicable) report?
CPANPLUS relies on module names (e.g. "Solaris::" or "Win32::") but that
is not always appropriate in cases where a module runs on many
"Michael G Schwern" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tue, Mar 22, 2005 at 06:28:21PM +, Adrian Howard wrote:
>> PS "O'Reilly will have a small book soon" ?
>
> Oh yeah, that's the developer's testing notebook Ian Langworth and
> chromatic
> are working on.
>
FYI, I've uploaded Module::Phalanx100 to CPAN in to
$CPAN/authors/id/R/RR/RRWO/Module-Phalanx100-0.01.tar.gz
It simply contains a list of the Phalanx distributions from the project
web site at http://qa.perl.org/phalanx/.
It's provided so that anyone who needs a consistent list can use it
rath
This isn't a bundle. It just provides a list of modules, though I guess
something could parse the Bundle::Phalanx, thanks.
On 20/03/2005 23:43 Andy Lester wrote:
On Mar 20, 2005, at 4:18 PM, Robert Rothenberg wrote:
FYI, I've uploaded Module::Phalanx100 to CPAN in to
$CPAN/authors/id
cpanratings.perl.org?
Ian Langworth wrote:
Fair enough.
On Tue, 15 Mar 2005 00:37:26 -0600, Andy Lester <[EMAIL PROTECTED]> wrote:
I'd rather it didn't. What people think of as "popularity" is not what
Phalanx measures.
Let's not stir the mud.
would be a great way to
learn so things about testing specifically and Perl as well.
Robert
I am new to Perl. If you went by the "Perl Medic" book I would be about a
level 4. I am also on Windows (work) and OSX (home). How can I help?
Robert
Mr. Cowgill's computer did not send such a message to the list. (It's
not in the archive.) He sent it to you directly.
-R
At Wed, 22 Dec 2004 12:27:51 -0800 (PST),
Ovid wrote:
>
> OK, everyone send Mr. Cowgilll a polite message letting him know that,
> in the future, he needs to not send thes
[ We're down a handful this week... but not by much... thanks to Steve
Peters for going through some of the old ones and identifiying things
that can be closed. ]
Perl5 Bug Summary
http://rt.perl.org/rt3/NoAuth/perl5/Overview.html
Generated at Mon Sep 6 13:00:02 2004 GMT
I felt submitting an RT on
that module, either.
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
There's too much blood in my caffeine system.
e" is useful in some ways and not in others, it seems. The most
useless part of it is the "published modules list", and IMO we should
get rid of the thing.
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
"I've decided to rename [Connect's Melbourne border router] 'Madi's Pants'
because it keeps dropping." -- Madi (from the Netizen quotes file)
he module from there.
Thinking of attacking perlmodlib next, and removing a lot of those long
lists. I'm pretty sure we're better off pointing to web resources for
most of the gunk that's in there.
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.
> I'll be redoing the Phalanx 100 this week. I'm hoping to get FTP logs
> from pair.com and from cpan.org. If anyone else has FTP logs they can
> submit to me, I'd love to have 'em.
$ host cpan.org
cpan.org has address 66.39.76.93
$ host cpan.pair.com
cpan.pair.com has address 66.39.76.93
> Last year, I got different logs from Graham and Pair. Any other
> suggestions since they're apparently the same now? Mirror-owners I
> should talk to?
You could ask Graham for the search.cpan.org logs. Those are
potentially interesting.
-R
I have a prototype Perl script that will determine the dependencies of a given
CPAN distribution, and then check CPAN Testers for any failure reports of that
distro or dependent distros for a given platform.
I would like to work with other people to turn this into something of use to
the community,
I have a prototype Perl script that will determine the dependencies of a given
CPAN distribution, and then check CPAN Testers for any failure reports of that
distro or dependent distros for a given platform.
I would like to work with other people to turn this into something of use to
the commun
On 7/11/2004 12:46 AM Michael G Schwern wrote:
Most modules now have a META.yml file which contains (amongst other things)
module dependency information. Simplest thing to do would be to make a
local miniCPAN mirror [1] and walk through the archive files [2] in
modules/02packages.details.txt look
results for
platform 'x' for a specific module, I can check to see if one of the dependent
modules fail on that platform.
Thanks,
Robert Rothenberg
(FYI, I've just posted a question on PerlMonks regarding this,
http://www.perlmonks.org/index.pl?node_id=373386)
> Yes. We've been thinking about this. It either needs stealing buildd
> from Debian, having a box we don't mind destroying every so often, or
> having a VMware virtual machine we can undo easily. What we need is
> more free time ;-)
>
User Mode Linux (limiting to Linux, of course) might be a lig
> I guess mostly the syntax highlighting is the biggest concern. I
> use emacs and that does syntax highlighting for perl files. Is there any
> IDE out there that highlights POD differently than code? If that was the
> case then I probably wouldn't have a problem with in-module POD. I gue
> > I'd rather something that can actually live on bugs.perl.org.
> How about a bugs.perl.org Kwiki?
I have not yet drunk that particular Kool Aid.
I'm happy to accept patches. I also want to retain some level of
editorial control over it, to make sure we don't make right-turns.
-R
At Fri, 18 Jul 2003 18:19:19 +0100,
Tony Bowden wrote:
> I've been chatting with Casey about how we should best be dealing with
> the perlbug RT interface - e.g. what to do when you come across a bug
> that's resolved, what the various statuses mean etc.
The proper place for this particular discus
> Help me out here. I'm trying to imagine why someone would want
> WWW::Mechanize without a net connection. Or are you saying that people
> will want to use it strictly behind a restrictive firewall where
> google.com isn't accessible?
Yes.
-R
> There really aren't many tests that are meaningful without that access.
> 00.load.t, 99.pod and add_header.t are all that seem to be valid
> without it.
You could allow the user to choose between internal and external
tests, where the internal tests are much simpler, maybe including a
trivi
Alain Barbet writes:
>> Have you seen http://tinderbox.perl.org ? I've personally found that
>> useful for monitoring Parrot, though it's not obvious how well it would
>> scale for large numbers of smoke-test configurations.
>
>No I didn't know this, but find some good idea in this system too.
>I
>> And where did the p5p FAQ get to?
>MJD said he was taking it off his website... or do you mean the serious one?
Do you mean this?
http://simon-cozens.org/writings/p5p-faq
If someone wants to become a new champion for it, we can keep it on
http://dev.perl.org/perl5. (Another way to enable th
Using Test::More, how can I intersperse stuff for user interaction? For
instance:
print "Please enter the hostname/ip for the server [localhost]: ";
my $host = ;
print "Please enter the admin password [default]: ";
my $password = ;
$agent = esmith::FormMagick::Tester->new(host => $host, password
On Wed, Dec 19, 2001 at 03:50:12PM -0500, Michael G Schwern wrote:
> On Tue, Dec 11, 2001 at 01:52:12PM -0500, Kirrily Robert wrote:
>
> Are we doing the time warp again, or are the Huskies just tired of
> pulling the packets across the border?
>
>
> > How abou
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
re that handles incoming email. Doesn't
implement any of its own ok()-like routines at all, just makes it easy
to use Test::More's routines on incoming email.
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
Usenet: open mouth, insert foot, propagate internationally
When they work, you can CC special addresses in a reply, and things
happen.
For example, if you cc [EMAIL PROTECTED] the ticket will be closed.
I don't remember the exact syntax, but I think
[EMAIL PROTECTED] will close it as notabug.
Other keywords include 'patch' 'note', etc.
Join them with
l community") should
define these things so that different packagers (Debian, Red Hat,
whoever) can have somewhat-consistent packages.
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
If it's not broken, break it.
On Tue, Oct 09, 2001 at 09:17:06AM -0400, Shane Landrum wrote:
| On Sun, Oct 07, 2001 at 03:30:58PM -0400, Kirrily 'Skud' Robert ([EMAIL PROTECTED])
|wrote:
| > OK, I've been putting off figuring this out for ages, but here it is:
|
|
|
| Another way to accomplish the
I've built an RPM of Test-SDK using cpan2rpm, and when I try to install
it on a Red Hat system it says:
[root@e-smith skud]# rpm -Uvh perl-Test-SDK-0.04-1.i386.rpm
Preparing...### [100%]
file /usr/lib/perl5/5.6.0/Test/Harness.pm from instal
Both Test::More and WWW::Chat export a routine called fail(). This
makes it rather hard to write tests for web stuff using both these
modules.
Since WWW::Chat's fail() is only used internally, could I possibly
request that it be changed to not export, and/or rename it _fail, or
whatever. Anythi
OK, I've been putting off figuring this out for ages, but here it is:
#!/usr/bin/perl -w
use strict;
use Inline 'WebChat';
use Test::More 'no_plan';
ok(google(), "Can get google");
__END__
__WebChat__
sub google {
GET http://google.
! It says something like:
not ok 23
# Failed test 1 (eval.t at line 69)
# got: 'blah blah blah'
# expected: ''
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
"There are three degrees of being weird. There are: 1) Salvageably weird.
2) Weird. 3) Irrevocably weird." -- Carrie Fisher
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 PRO
ms. I rewrote all the test analysis logic and I still afraid I
>broke something.
We're probably going to start using it for e-smith's testing foo.
I've dinked around with it briefly, enough to know that it does roughly
what I want, but I'm not on any kind of unusual platform o
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.
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
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, bu
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 nee
Anyone know what might cause this? The same reporter also had the same
problem with CPAN-Test-Reporter.
K.
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PRO
* Sending output somewhere more useful than a logfile
* Integrating into a real "test suite" that's friendly to
Test::Harness
* Handling MIME in a suitable way
SEE ALSO
the Test::More manpage, the Mail::Header manpage, the Mail::Audit
manpage
AUTHOR
Kirrily "Skud" Robert <[EMAIL PROTECTED]>
In perl.qa, you wrote:
>On Tue, Aug 28, 2001 at 07:56:30PM -0400, Kirrily 'Skud' Robert wrote:
>> This script...
>
>Nifty, mind if I assimilate it as an example script?
Not at all. Credit as Kirrily "Skud" Robert <[EMAIL PROTECTED]> please.
K.
--
This script...
#!/usr/bin/perl -w
use strict;
use Pod::Coverage;
use ExtUtils::Installed;
my $m = ExtUtils::Installed->new;
my @modules = $m->modules();
print "Checking POD coverage...\n";
my %coverage;
foreach my $mod (@modules) {
my $pc = new Pod::Coverage package => $mod;
$coverag
| > Can anyone please clarify this a bit?
|
| With respect to exercising modules, this should all work. Did the
| module pass its own tests? Actually, there's only one test at the
| moment, but it does include a module. What you did should have worked.
| You should have got a report about t/f
This one's for Paul or anyone else who happens to know :)
After hearing about Devel::Cover at YAPC::E's CPANTS session, I thought
I'd pull it down and take a look at it.
Well, I don't understand it. This is probably because I've never used
such a thing before. So here are some questions and, I
common/popular documentation markup language. This means that you don't
have to know all of Docbook to write Docbook -- you can write in this
cut-down, intermediate level: DocPOD
5. There are some modules for doing the translation etc, see DocPod::*,
presumably on CPAN.
HTH,
K.
--
Kirrily
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 repo
ere any (or plans to create any) docs that explain how to
>write tests?
I believe I volunteered to do that the other day. More fool me :)
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
There's nothing wrong with me; therefore, there must be something wrong
with the universe.
ings were meant to output during the testing, to show
you what it's testing for. Am I confused?
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
"My secret weapon is PMS." -- Buffy the Vampire Slayer
g
"Strings aren't blank").
I thought those strings were meant to output during the testing, to show
you what it's testing for. Am I confused?
K.
--
Kirrily 'Skud' Robert - [EMAIL PROTECTED] - http://infotrope.net/
Real programmers don't bring brown-bag lunches. If the vending machine
doesn't sell it, they don't eat it. Vending machines don't sell quiche.
75 matches
Mail list logo