Re: building a watchdog

2003-07-21 Thread Ovid
quot;)' 2>&1 | mail [EMAIL PROTECTED] I don't think much special work would need to be done. I've heard that Test::Cmd works pretty well. I was reading that just a few days ago, but I can't remember where I read that (grr ...) Cheers, Ovid --- "Randal L. Sc

RE: passing arguments to tests

2003-07-24 Thread Ovid
re you are still calling this in a functional manner (instead of TestHarnessSubClass->runtests), which means that C:\perl\sample.t will be passed as the first argument. The "subclassed" runtests() method will assign that value to $self and you will have very disappointing

Re: Blurring the line between assertions and tests

2003-08-02 Thread Ovid
ugh grief that I suspect having such a subtle difference as TEST {} versus TEST: {} is begging for trouble. This does mean, though, that it won't play nicely with versions of Perl < 5.6.0. Is that trade off acceptable? Cheers, Ovid = Silence is Evil http://users.easystr

Re: Testers & PASS

2003-08-04 Thread Ovid
PASS i586-linux 2.0 (6 PASSes) 91811 PASS sun4-solaris 91840 PASS i586-linux 92801 PASS MSWin32-x86-multi-thread 1: Older versions are getting cumulative results from newer versions. 2: Everyone rushed out to check their own modules :) Cheers, Ovid = Silence is Evil

Testing strategies

2003-08-27 Thread Ovid
ailed: Different values at index 1: 'Baz, Inc.' vs. 'Foo, Inc.': 'Baz, Inc.' ne 'Foo, Inc.' on /home/cxp/work/popup_sort/perl_lib/RTK/Retail/Product/TEST/Supplier.pm, line 34 Yikes!!. Errors in: /home/cxp/work/popup_sort/perl_lib/RTK/Retail/Product/TEST/S

Re: passing arguments to tests

2003-09-08 Thread Ovid
art of my driver script and I call it like: grind --fast That runs through all of my tests, but the "FAST_TESTS" environment variable is available in the test programs that I run. Cheers, Ovid = Silence is Evilhttp://users.easystreet.

Re: Test::More and 'deep' tests

2003-09-09 Thread Ovid
d to know the pros and cons of different approaches. I hope that made sense. Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl htt

Re: passing arguments to tests

2003-09-11 Thread Ovid
CPAN distributions? It's a utility that I wrote to allow me to better manage my tests. > If you have used it in a CPAN module, > please let me know which one, so I can take a look. I've just made it available at http://users.easystreet.com/ovid/cgi_course/downloads/grind

Devel::Cover can't find loaded modules

2003-10-03 Thread Ovid
e me some guidance on what I can do to alleviate them? I'm trying to create a small test case, but this has been pesky to narrow down. In the meantime, I'm going to try to add signal handlers to dump stack traces and maybe even symlink a 'blib/lib' to the appropriate lib

Devel::Cover bug in ActiveState Perl for *Linux*

2003-10-13 Thread Ovid
/local/stow/perl-5.6.1-a633/lib/perl5/site_perl/5.6.1/i686-linux-multi /usr/local/stow/perl-5.6.1-a633/lib/perl5/site_perl/5.6.1 /usr/local/stow/perl-5.6.1-a633/lib/perl5/site_perl /usr/local/lib/perl5/site_perl/5.6.1/i686-linux-multi /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/

Re: Devel::Cover bug in ActiveState Perl for *Linux*

2003-10-13 Thread Ovid
FYI: I've managed to replicate this error on another ActiveState Perl linux box. The Perl -V information is the same, but the module list is quite a bit smaller. The only common element that I can find is ActiveState. Cheers, Ovid = Silence is Evilhttp://users.easystree

Re: Devel::Cover bug in ActiveState Perl for *Linux*

2003-10-13 Thread Ovid
o help us figure out how much old code we have so we can delete it and start refactoring from a cleaner code base. I'll dig some more and see if I can come up with a workaround. Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid

Perl Core Tests

2003-10-16 Thread Ovid
w the convention) or have they simply not been converted? Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet

Devel::Cover and large test suites

2003-10-20 Thread Ovid
x27;m wondering if coverage results are cumulative? If I have tests in four different directories, can I run the tests separately, specifying the same coverage db for each and thereby *gradually* accumulate this information? Are other workarounds available? Cheers, Ovid = Silence is

Re: Devel::Cover and reading docs :/

2003-10-20 Thread Ovid
--- Ovid <[EMAIL PROTECTED]> wrote: > I'm wondering if coverage results are cumulative? If I have tests in four different > directories ... Of course they are, if the -merge option is on. I missed that. You may now return to your regularly scheduled programming. Whoops, Ovid

When Good Practices Go Bad (was: re: Devel::Cover...)

2003-10-20 Thread Ovid
er, from every programmer I've talked to, has been "how can we test the data if we don't know what it is?" The programmes working here haven't worked with any other way of testing so it never occurs to them that there might be another way. This company is doing some great

Re: Devel::Cover and large test suites

2003-10-20 Thread Ovid
t testing strategy. If the tests were designed better, I'd have less room to complain about how long they take to run. Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node

No more code coverage

2003-10-20 Thread Ovid
foreach my $dir (@test_dirs) { printf "\nProcessing %3d out of %3d: $dir\n\n", $count, $total; chdir $dir; my $command = 'perl -MDevel::Cover=-db,/home/ovid/cover_db /usr/bin/rtk_test"; system($command); $count++; } There were 92 test directories in @test_d

Re: No more code coverage

2003-10-20 Thread Ovid
. On the other hand, it's ridiculously fast, is easy to install and I'd cheerfully vote for it! I'm trying to talk my boss into letting me poke into the internals of Devel::Cover more, but I doubt that will be approved. If it is, maybe I can work on this. Cheers, Ovid = S

Re: No more code coverage

2003-10-21 Thread Ovid
If it's not the data structure being built but instead is the conversion to Data::Dumper format, then ignore what I say :) Cheers, Ovid ===== Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.or

Re: Recommendations for testing e-mail output

2003-10-28 Thread Ovid
} ok($email_text, "$mail_func should be called called"); is($email_text, $test_text, '... and the email should match the sample text'); The above, of course, is probably not as complete as you might want for production code, but it's roughly how I would approach th

Re: Phalanx

2003-10-29 Thread Ovid
would certainly be the best person to answer this, I rather like the idea of an entire Perl Mongers group becoming a hoplite. I can't help but wonder if a little friendly competition amongst groups might be a wonderful thing. Who can get the most modules tested? Cheers, Ovid ===== S

Re: reducing size of the Devel::Cover html report

2003-11-13 Thread Ovid
you remove Template Toolkit? Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/ _

Re: Using environment variables to control long running tests (again)

2003-11-18 Thread Ovid
ecommend something like PERL_SKIP_LONG_TESTS. By default, all tests should be run to prevent the user accidentally forget to run some tests. If any tests are skipped, it should be by the explicit instruction by the person running the test lest nasty surprises crop up. Cheers, Ovid = Silence is

Re: Perl Abstract/Concrete Syntax Tree

2003-12-30 Thread Ovid
files the same way. If you could be a bit more concrete in what you are looking for, we would be better prepared to help. Perhaps if you could send a code snippet of what you would *like* Perl to do (and specify the file format(s) that you want to work with). Cheers, Ovid

Re: JavaScript/Perl Question

2004-01-29 Thread Ovid
eate framed sites without frames, but it was for my old job and I no longer have the code :( I should note that this is also a very error-prone way to do things. Fixing all of the links is more difficult than it sounds, particularly if they have "target" attributes. Cheers, Ovid ===

Re: "Default" test name?

2004-02-02 Thread Ovid
s my format. I suppose I should eventually do something about that, but I guess it doesn't annoy me enough to find a patch laying around somewhere. Cheers, Ovid -- whose waiting for someone to say, "you must not have read perldoc $foo" :) ===== Silence is Evilhttp://

Testing Inline::C

2004-02-11 Thread Ovid
Hi all, http://search.cpan.org/~ovid/AI-NeuralNet-Simple-0.02/ I've a problem in testing Inline::C. In the module AI::NeuralNet::Simple, I do some work allocating and deallocating memory and I've been bitten by a bug where I wasn't allocating memory properly for one of my arra

Re: Devel::Cover - require 5.8?

2004-04-02 Thread Ovid
it with our largest test suite (which takes almost two hours to run), then I'll cheerfully encourage you :) Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Pr

Re: Devel::Cover - require 5.8?

2004-04-03 Thread Ovid
ere struggling to figure out what to do with, I probably would *not* have gotten approval. As it stands, I did the upgrade months ago and we're still waiting to install it. Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecen

Re: Devel::Cover - require 5.8?

2004-04-03 Thread Ovid
it doesn't ring a bell. Is perl5-porters > aware of this? Is this a known change in behaviour? >From perl58delta: The existing behaviour when localising tied arrays and hashes is wrong, and will be changed in a future release, so do not rely on the existing behaviour. See "Local

Duplicated code

2004-04-19 Thread Ovid
ther curious to hear about something that operates on the op-code level and can possibly cope with renamed variables as a result. Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?no

Re: hoplite report for DBI : Part 2

2004-05-11 Thread Ovid
--- stevan little <[EMAIL PROTECTED]> wrote: > I would also like to propose that we remove all -w flags, and convert > them to use the warnings pragma. Does that mean you don't want to support versions of Perl prior to 5.6? I would think that should be up to Tim. Cheers, Ov

Re: hoplite report for DBI : Part 2

2004-05-11 Thread Ovid
--- stevan little <[EMAIL PROTECTED]> wrote: > If this will break things prior to 5.6 then I reverse my proposal and > say that we should *not* use the warnings pragma and instead use the -w > flag. I always find it easier to roll back unwritten code :) Cheers, Ovid =

Temporarily Overriding subs

2004-05-25 Thread Ovid
it, or is this something I should upload? Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/

Re: Temporarily Overriding subs

2004-05-25 Thread Ovid
--- Adrian Howard <[EMAIL PROTECTED]> wrote: > Hook::Lexwrap? > > It's what I normally use for this sort of thing, and you can > short-circuit the original method in a pre- wrapper. Ah, never knew about the short-circuiting. Thanks! Cheers, Ovid = Silence

Bizarre test failures in Devel::Cover

2004-06-08 Thread Ovid
I've no idea why, but when I try to install Devel::Cover, I'm getting far more failed tests than there are tests. Below is the summary and my perl -v. Any ideas? I didn't see anything in the docs to indicate what the problem would be. Cheers, Ovid -- Failed TestS

Re: C/C++ White-Box Unit Testing and Test::More

2004-06-09 Thread Ovid
with Python and was actually doing well with it, but I was shot down pretty quickly. xunit style testing, though it has limitations, is very powerful and people are quick to scoff at alternatives (at least from what I've experienced.) Cheers, Ovid = Silence is Evilhttp://use

xUnit vs. Test::More

2004-06-24 Thread Ovid
27;m concerned about introducing "fixes" that weaken our testing strategy. How do others deal with this? Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/

Re: C/C++ White-Box Unit Testing and Test::More

2004-06-24 Thread Ovid
ion about this on Perlmonks: http://www.perlmonks.org/index.pl?node_id=294571 Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/

Re: C/C++ White-Box Unit Testing and Test::More

2004-06-25 Thread Ovid
--- Andrew Pimlott <[EMAIL PROTECTED]> wrote: > Now I'm confused too. None of the Test::Unit examples I've seen use > "is", they use some form of assert. You were looking at Test::Class code, not Test::Unit code. Cheers, Ovid = Silence is Evil

Open Perl bugs should be closed?

2004-08-03 Thread Ovid
hinks "" eq undef in hash value 30584 Test::More is_deeply bug Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming

Re: [RFC] Test-Locally

2004-08-09 Thread Ovid
ays ago. http://search.cpan.org/~ovid/Sub-Override-0.03/ Synopsis: my $override = Sub::Override->new( foo => sub { 'overridden sub' } ); # use the new sub $override->restore; # original sub available You can override multiple subs: $override->replace('Some::sub1',

Re: [RFC] Test-Locally

2004-08-09 Thread Ovid
sure that would come in handy. > > Steve MockObjects are great, but sometimes you just want to replace one teeny, tiny little function that's making life miserable. Also, MockObjects are great if the interface is OO, but not if it's procedural. Cheers, Ovi

Re: [RFC] Test-Locally

2004-08-09 Thread Ovid
ockObject. Thanks! Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/

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

2004-08-24 Thread Ovid
w('Foo::_print' => sub { $_print = shift }); (You can later restore the subroutine, if needed) Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Pr

Specification based testing

2004-09-17 Thread Ovid
s like food for thought. Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/

Re: Build Status of CPAN modules from ActiveState

2004-10-02 Thread Ovid
ir own separate files such as > > http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/Acme-1.111.txt Side note: Not all modules have build results. I have a couple of modules with failures, but since they don't list why, I have no way of resolving the problem. Che

Re: Quality from the Beginning: Better Estimates

2004-11-01 Thread Ovid
ften accidental) that we commonly see and your project has a much greater chance of success. Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/

Re: Quality from the Beginning: Better Estimates

2004-11-01 Thread Ovid
--- Ovid <[EMAIL PROTECTED]> wrote: > --- Mark Stosberg <[EMAIL PROTECTED]> wrote: > > So, what resources are recommended to consult to make great > > estimates? > > What habits to develop? And all that writing only to notice that I only peripherally touched

Re: Test names vs. test comments

2004-12-02 Thread Ovid
overlooked in maintenance, rush to deadlines, etc. Only when comments *become* the programs they are supposed to document will this problem be solved (and programming will likely be much better for it.) Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/de

Test Failure Hooks

2004-12-07 Thread Ovid
andle. Someone's surely done this before, I just can't seem to find anything that's already implemented. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000

Re: Test label - contents

2004-12-07 Thread Ovid
nto the actual test to see the implementation. It's more work than others wish to do, though. Many programmers seem to be happy with "is red" and this seems to lead to a greater need to actually read the test implementation (if not the actual code.) Cheers, Ovid = Silence is

Re: Test Failure Hooks

2004-12-07 Thread Ovid
#x27;t know before hand which tests are going to fail. If this is not already implemented, can you point to the correct modules for which I would need to submit a patch? :) Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid

Test::Cookbook?

2004-12-07 Thread Ovid
for improvement), but it's something that is not immediately obvious to someone who just started testing. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course/

Re: New qa.perl.org updates

2004-12-10 Thread Ovid
e if that fails but many subsequent tests pass and testa # 217 and beyond fail because the module didn't load properly. You can spend hours debugging because you didn't see the "use_ok" failure at the top. (I speak from extremely painful personal experience on this.) Cheers, Ov

Re: New qa.perl.org updates

2004-12-16 Thread Ovid
uot; wording to the testing guidelines. I will confess that I was not entirely happy with my wording on the latter. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web

Test::Builder versus Unicode

2004-12-20 Thread Ovid
ange paths in the code which could be causing this (I'm wondering about the autoflush), but I was wondering if anyone has seen this and knows how to cope with it? As you can see, I've tried that standard binmode ':utf8' and using utf8, but to no avail. Chee

Re: Test::Builder versus Unicode

2004-12-22 Thread Ovid
e, as soon as someone comes up with other layers for which we have a definite problem, I'll shut up. Cheers, Ovid = Silence is Evil http://users.easystreet.com/ovid/philosophy/decency.html Ovid http://www.perlmonks.org/index.pl?node_id=17000 Web Pr

Fwd: Out of Office Contact

2004-12-22 Thread Ovid
t me near a pun again, please. Cheers, Ovid --- [EMAIL PROTECTED] wrote: > Subject: Out of Office Contact > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Date: Wed, 22 Dec 2004 19:55:11 + > > I will be out of the office starting 21/12/2004 and will not return > unti

is_deeply hangs

2005-01-23 Thread Ovid
diff says they are the same'; is_deeply $cloned_db, $database, '... but this hangs'; AI::Prolog is not yet on the CPAN, so if someone want's to test this, they can grab it from http://users.easystreet.com/ovid/downloads/AI-Prolog-0.01.tar.gz I didn't do too much research in

is_deeply hangs

2005-01-23 Thread Ovid
. but this hangs'; AI::Prolog is not yet on the CPAN, so if someone want's to test this, they can grab it from http://users.easystreet.com/ovid/downloads/AI-Prolog-0.01.tar.gz I didn't do too much research into this as eq_or_diff() solves my problem, but we appear to have an infinit l

Overriding Test::Builder::ok

2005-01-24 Thread Ovid
27;, 'foo', 'and this should be good'; I must be missing something because that didn't die. It quite happily ran the tests. Can someone please tell me what I am missing? Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow

Pattern patch for prove

2005-01-24 Thread Ovid
/ Patterns must be valid Perl regular expressions and prove will die if an invalid pattern is supplied. Comments welcome. Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easy

Re: Test::Unit, ::Class, or ::Inline?

2005-01-24 Thread Ovid
ng tools (besides Test::Simple). Cheers, Ovid --- Ian Langworth <[EMAIL PROTECTED]> wrote: > I'm taking a software development class this semester which will > involve > writing extensive object-oriented code. My partner and I are trying > to > decide whether to use

Re: Overriding Test::Builder::ok

2005-01-25 Thread Ovid
--- Ovid <[EMAIL PROTECTED]> wrote: > Per this message from Schwern > (http://www.mail-archive.com/perl-qa@perl.org/msg03122.html) on how > to > trigger custom behavior for individual tests: > > For individual failures, put a wrapper around > Test::Builder->

Re: Overriding Test::Builder::ok (Warnocked?)

2005-01-25 Thread Ovid
;d love to see the latter in prove and not being able to override Test::Builder->ok is giving me fits! Cheers, Ovid --- Ovid <[EMAIL PROTECTED]> wrote: > > --- Ovid <[EMAIL PROTECTED]> wrote: > > > Per this message from Schwern > > (http://www.mail-arch

Re: Overriding Test::Builder::ok (Warnocked?)

2005-01-25 Thread Ovid
velopment. Is there something I am missing here? Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Test::Unit, ::Class, or ::Inline?

2005-01-26 Thread Ovid
mple, your test output is in color. Passing tests are in green and failing tests are in red. Further discussion is at http://use.perl.org/~Ovid/journal/22899. Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Program

Re: [PATCH Test::Harness::Straps] Add Diagnostic Output to Straps Results

2005-01-26 Thread Ovid
7;2' * expected: '3' ok4 - and this one is just obvious Looks like you failed 1 tests of 4. With the caveat that the asterisks at the front of the lines don't really exist, but those lines are the ones that are colored bold red in my output. The rest

Re: [PATCH Test::Harness::Straps] Add Diagnostic Output to Straps Results

2005-01-26 Thread Ovid
--- Ovid <[EMAIL PROTECTED]> wrote: > > +elsif ($result{number} and my $extra = $self->_is_extra_line( > > $line )) > > Always fails to collect the data I need because $result{number} is > false when the extra data is being accumulated. Thus, I changed it >

Re: [problem solved] Add Diagnostic Output to Straps Results

2005-01-26 Thread Ovid
--- Ovid <[EMAIL PROTECTED]> wrote: > And this is confusing me because the next line actually uses the > $result{number} but the code still works. > > elsif (!$result{number} and my $extra = $self->_is_extra_line( > $line )) { > my $test = $total

Re: [PATCH Test::Harness::Straps] Add Diagnostic Output to Straps Results

2005-01-26 Thread Ovid
--- chromatic <[EMAIL PROTECTED]> wrote: > On Wed, 2005-01-26 at 18:51 -0800, Ovid wrote: > Odd. I think the problem was in looking for undefined values; at > least, > I remember ending up with that while writing the patch and running > the > Test::Harness tests. Perhap

Test names/comments/whatever?

2005-02-05 Thread Ovid
Has there been any final decision as to what to call test names? There was quite a bit of discussion, but I don't recall the resolution. Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with

Re: Test names/comments/whatever?

2005-02-05 Thread Ovid
ndy's already made it clear that he doesn't have a lot of time, but I still don't mind kicking 'im. :) Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Test names/comments/whatever?

2005-02-10 Thread Ovid
o have played with it, but haven't really used it since it's not as useful as it could be. Once it's made useful, it's a whole 'nuther ball game :) Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Test comments

2005-02-14 Thread Ovid
What follows are the notes I have from someone else regarding the name "comment" for what was previously considered the "label." It's actually rather important that I have an answer for this, but I really can't go into more detail (sorry). Cheers, Ovid > It&#

Re: Test comments

2005-02-14 Thread Ovid
--- Andy Lester <[EMAIL PROTECTED]> wrote: > On Mon, Feb 14, 2005 at 09:48:39AM -0800, Ovid > ([EMAIL PROTECTED]) wrote: > > It's actually rather important that I have an answer for this, but > I > > really can't go into more detail (sorry). > > It'

Re: Test comments

2005-02-14 Thread Ovid
--- chromatic <[EMAIL PROTECTED]> wrote: > Can you tell I'm wearing my editor's hat? Awfully big hat :) = If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: TestSimple/More/Builder in JavaScript

2005-04-07 Thread Ovid
of context, are there any scoping issues this might cause problems with? Will passing a function reference have any chance of altering the behavior of the code (it would in Perl). > * Is there threading in JavaScript? Used to be "no", but I'm not sure about the latest versions. C

Re: TestSimple/More/Builder in JavaScript

2005-04-08 Thread Ovid
ion. I suspect this means we can't be sure exactly when an object is destroyed, though whether or not this has any bearing on David's problem is not clear to me. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list

Re: RFC - Class::Agreement

2005-05-23 Thread Ovid
eful. You did write "Class::Agreement is also the only implementation in any language to blame failed contracts correctly", but I don't know what that means. I also note that the link you point us to after that comment is a citation, not something I can actually read. Other than that, it lo

Re: RFC - Class::Agreement

2005-05-27 Thread Ovid
of Class::Agreement and should definitely be hyped. Many aren't going to use Class::Contract due to the performance hit. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Fwd: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-01 Thread Ovid
alled. Later, I realize that my methods are deterministic so I start caching results and returning them instead of rebuilding the array each time. I'm expecting my test suite to still continue working but under this proposed idea, it could be a nightmare for me to debug. Heck, when I print out the ar

Re: Fwd: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-02 Thread Ovid
#x27;re talking about two separate things and that neither is wrong, so if someone wants to pitch a solution rather than continue a long email chain, I'm sure we'd be grateful :) Cheers, Ovid -- If this message is a response to a question on a mailing list, please s

Re: AnnoCPAN and a wiki POD idea

2005-08-10 Thread Ovid
e's just too much spam in it. I've contact instructions in my modules, but that's about it. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Test::Code

2005-08-11 Thread Ovid
e is functionally identical. I'm currently using B::Deparse to handle this, but in the long run, I'd really prefer to be able to use PPI::Normal and fail back to B::Deparse. Right now, this test module is not as useful as I would like due to caveats listed above. Suggestions welcome. Ch

Re: Test::Code

2005-08-11 Thread Ovid
tine the same as Y routine". You know this, but I thought I'd > kick off the discussion here. Agreed. I think eq_code is better. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Test::Code

2005-08-11 Thread Ovid
ob diddling, so that tends to stick in my mind. Thanks for the reminder. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Test::Code

2005-08-17 Thread Ovid
look that hard, but I haven't tried yet). I won't have time to return to this problem for a couple of days, but I'm glad to know there's a path to follow. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

kwalitee: drop Acme?

2005-09-08 Thread Ovid
Code::FreedomFighter comes). Further, I can't use strict in that module (doing so would kill a bit of irony). And POD coverage for a module that consists of one line of code? We should at least throw the poor module author's a bone and leave Acme:: out of this. Cheers, Ovid PS: Someo

Re: kwalitee: drop Acme?

2005-09-08 Thread Ovid
--- David Golden <[EMAIL PROTECTED]> wrote: > It can't be by the same author, though, to count for is_prereq, > right? Nope. http://cpants.perl.org/dist/Lingua-EN-NameParse. I think I can create a Bundle::Ovid and win this point. Cheers, Ovid -- If this message is a respo

Re: kwalitee: drop Acme?

2005-09-09 Thread Ovid
l likely pass the pod tests (unlike me). Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Sub::Uplevel

2005-09-09 Thread Ovid
uck. How do you handle issues like this or is this one common enough that someone knows the offending party? Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/

Re: Test::Harness Extension/Replacement with Color Hilighting

2005-09-16 Thread Ovid
n't get me wrong. I also want color highlighting of test code. However, there's a lot more stuff I would like to do with the test output (imagine a Wx extension that provides the red/green color bars that JUnit provides). By fixing Test::Harness, we get a more general case solution and ev

Re: ENV problems with testing

2005-09-20 Thread Ovid
(ie. building up > a regex > with a bunch of qr's) it didn't really stabilize until 5.6. I recall > this > from Email::Find and URI::Find. But for normal use its ok in 5.5. FYI: Deeply nesting qr// constructs can have performance impacts. ovid $ perl -le '$x=qr{x};$y =

Test Suite Slowing Down My Development

2005-10-28 Thread Ovid
?node_id=503758. In short, I need to use a different strategy to get around the problems outlined in that node (reproduced below). Cheers, Ovid -- One of the less appreciated benefits of test suites is how they speed up development. It seems counter-intuitive as you're writing twice the amou

Re: Test Suite Slowing Down My Development

2005-10-28 Thread Ovid
; rarely get the tests right the first time. It might be nice if you posted this comment to http://perlmonks.org/index.pl?node_id=503758 If others can see that this is not an unusual problem it might help. Cheers, Ovid -- If this message is a response to a question on a mailing list, please se

CPAN Testers results

2005-11-02 Thread Ovid
Hi all, I've noticed that http://search.cpan.org/~ovid/HOP-Parser-0.01/, amongst other modules, has no CPAN test results appearing even though CPAN tester reports are coming in. I've seen this for other modules, too. Is there an announced reason for this I missed or is something dow

RFC: Test::JSON

2005-11-12 Thread Ovid
yet, I've attached a copy. Feedback welcome. Internally it uses the following: 'JSON' => 1.00, 'Test::Differences' => 0.47, 'Test::Simple' => 0.62, 'Test::Tester' => 0.103, Cheers, Ovid -- If this message is a res

  1   2   3   4   5   6   7   8   >