Re: building a watchdog

2003-07-21 Thread Ovid
[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. Schwartz [EMAIL PROTECTED] wrote: It occurs to me

Re: Blurring the line between assertions and tests

2003-08-02 Thread Ovid
: {} 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 Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl

Re: Testers PASS

2003-08-04 Thread Ovid
(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 Evilhttp

Testing strategies

2003-08-27 Thread Ovid
/popup_sort/perl_lib/RTK/Retail/Product/TEST/Supplier.pm Let me know if anything is unclear. If you can think of any pros and cons of this approach, I would love to hear them. Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid

Re: passing arguments to tests

2003-09-08 Thread Ovid
, 'shuffle' = \my $shuffle_tests, 'fast' = \$ENV{FAST_TESTS}, ); In this case, this is part 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

Re: Test::More and 'deep' tests

2003-09-09 Thread Ovid
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 http://users.easystreet.com/ovid/cgi_course

Re: passing arguments to tests

2003-09-11 Thread Ovid
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.gz It needs more work, including allowing descending into directories (via

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

2003-10-13 Thread Ovid
/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl -- Any ideas on where to look next? Cheers, Ovid = Silence is Evilhttp://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid http://www.perlmonks.org/index.pl?node_id

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.easystreet.com

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

2003-10-13 Thread Ovid
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 http://www.perlmonks.org/index.pl?node_id

Perl Core Tests

2003-10-16 Thread Ovid
) 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.com/ovid/cgi_course

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 = Silence

Re: Devel::Cover and large test suites

2003-10-20 Thread Ovid
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_id=17000 Web Programming with Perl http://users.easystreet.com/ovid/cgi_course

Re: Phalanx

2003-10-29 Thread Ovid
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 = Silence is Evilhttp://users.easystreet.com/ovid/philosophy

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

2003-11-18 Thread Ovid
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 Evilhttp://users.easystreet.com/ovid/philosophy

Re: Default test name?

2004-02-02 Thread Ovid
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://users.easystreet.com/ovid/philosophy/indexdecency.htm Ovid

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 arrays. It's fixed

Re: Devel::Cover - require 5.8?

2004-04-03 Thread Ovid
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 Localising Tied Arrays and Hashes Is Broken. Cheers, Ovid = Silence

Duplicated code

2004-04-19 Thread Ovid
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?node_id=17000 Web

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, Ovid = Silence

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 = Silence is Evil

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 is Evilhttp

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 TestStat Wstat Total

xUnit vs. Test::More

2004-06-24 Thread Ovid
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
/index.pl?node_id=294571 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-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 Evilhttp://users.easystreet.com/ovid

Re: [RFC] Test-Locally

2004-08-09 Thread Ovid
/~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', sub { 'new data1' }) -replace('Some::sub2', sub

Re: [RFC] Test-Locally

2004-08-09 Thread Ovid
. 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, Ovid = Silence is Evilhttp://users.easystreet.com/ovid

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

2004-08-24 Thread Ovid
}); (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 Programming with Perl http://users.easystreet.com/ovid

Specification based testing

2004-09-17 Thread Ovid
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: Quality from the Beginning: Better Estimates

2004-11-01 Thread Ovid
, task cards and tests are some of the many tools that help with that. Foster a culture of information sharing through well-defined channels instead of the information hoarding (though often accidental) that we commonly see and your project has a much greater chance of success. Cheers, Ovid

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 on your question :) Whoops, Ovid = Silence

Re: Test names vs. test comments

2004-12-02 Thread Ovid
*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/decency.html Ovid http://www.perlmonks.org/index.pl

Re: Test label - contents

2004-12-07 Thread Ovid
to lead to a greater need to actually read the test implementation (if not the actual code.) 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

Test::Cookbook?

2004-12-07 Thread Ovid
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
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, Ovid --- Andy Lester [EMAIL PROTECTED] wrote: http

Re: New qa.perl.org updates

2004-12-16 Thread Ovid
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 Programming with Perl http

Fwd: Out of Office Contact

2004-12-22 Thread Ovid
, 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 until 31/12/2004. I am away today. Talk to Simon

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 loop in Test::More

is_deeply hangs

2005-01-23 Thread Ovid
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 loop in Test::More::eq_hash. Cheers, Ovid = If this message is a response to a question

Overriding Test::Builder::ok

2005-01-24 Thread Ovid
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 up questions to the list. Web Programming with Perl -- http

Pattern patch for prove

2005-01-24 Thread Ovid
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.easystreet.com/ovid/cgi_course/--- prove 2005-01-24 13:30

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

2005-01-24 Thread Ovid
). 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 Test::Unit, ::Class, or ::Inline for our test scripts. I can see

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

2005-01-25 Thread Ovid
be. I'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-archive.com/perl-qa@perl.org/msg03122.html) on how

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

2005-01-25 Thread Ovid
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
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 Programming with Perl -- http

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

2005-01-26 Thread Ovid
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 of the patch was fine and I thank you very much! Cheers, Ovid = If this message is a response to a question on a mailing list, please send follow up

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 to: elsif (!$result{number} and my

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 = $totals-{details}[$result{number} - 1]; OK

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. Perhaps we have something else different

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 Perl

Re: Test names/comments/whatever?

2005-02-10 Thread Ovid
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/

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's a comment. There's more than one thing being defined

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
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. Cheers, Ovid -- If this message is a response to a question on a mailing

Re: TestSimple/More/Builder in JavaScript

2005-04-08 Thread Ovid
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. Web Programming with Perl -- http

Re: RFC - Class::Agreement

2005-05-23 Thread Ovid
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 looks interesting. Cheers, Ovid -- If this message is a response to a question

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

2005-07-01 Thread Ovid
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 arrays with Data::Dumper, I'll see the same values and be mystified why they're not equivalent. Cheers, Ovid

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

2005-07-02 Thread Ovid
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 send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid

Test::Code

2005-08-11 Thread Ovid
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. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web

Re: Test::Code

2005-08-11 Thread Ovid
. 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
. 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
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
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: Someone should really write Acme::Code::Police::State. It would search

Re: kwalitee: drop Acme?

2005-09-09 Thread Ovid
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
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
. 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 everybody wins. Cheers, Ovid -- If this message is a response

Re: ENV problems with testing

2005-09-20 Thread Ovid
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 = qr{y$x};print qr{$y};' (?-xism:y(?-xism:x)) Perl will decompile the individual regexes back

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 amount

Re: Test Suite Slowing Down My Development

2005-10-28 Thread Ovid
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 send follow up questions to the list. Web Programming with Perl -- http

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 down? Cheers

RFC: Test::JSON

2005-11-12 Thread Ovid
. 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 response to a question on a mailing list, please send follow up questions to the list. Web

Re: CPANTS: released_while_burning_midnight_oil

2005-11-14 Thread Ovid
? I'd recommend a nice glass of Cigar Volant (http://www.strangehorizons.com/2005/20050905/lucianovic-c.shtml) 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

Re: testing Javascript applications ?

2005-11-28 Thread Ovid
I've been using it and once you get it set up, it's fairly straight forward. You can see a sample in my journal: http://use.perl.org/~Ovid/journal/27229 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

Re: testing Javascript applications ?

2005-11-28 Thread Ovid
--- Mark Stosberg [EMAIL PROTECTED] wrote: http://openjsan.org/doc/t/th/theory/Test/Simple/0.21/index.html I've been using it and once you get it set up, it's fairly straight forward. You can see a sample in my journal: http://use.perl.org/~Ovid/journal/27229 Interesting

Testing SQL and friends

2006-02-27 Thread Ovid
than simply an SQL tester. Thoughts? I'm thinking a name like Test::ControlWhitespace. Also posted to http://use.perl.org/~Ovid/journal/28819 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

Re: Non-Perl TAP implementations

2006-04-17 Thread Ovid
to provide their own grammars and thus structure the output to better suit their needs. Of course, I would like a Ponie with that, too). 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

Re: Non-Perl TAP implementations

2006-04-17 Thread Ovid
hurtin' 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/

Re: Non-Perl TAP implementations

2006-04-18 Thread Ovid
(might) be inclined to argue the point, but even then it's questionable. As a language-independent tool, an API is silly and I'm a fool for shooting my keyboard off for thinking only about the implementation problems as opposed to its benefits. Cheers, Ovid -- If this message is a response

Re: Non-Perl TAP implementations

2006-04-18 Thread Ovid
want to handle got/expected failure information in Java or C? There are pretty rich data structures we could put out there and YAML might help. That would also likely simplify a parser. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions

Re: Non-Perl TAP implementations (and diag() problems)

2006-04-19 Thread Ovid
--- Ovid [EMAIL PROTECTED] wrote: If you mean you want pluck YAML test results from a noisy input stream I'd say youd probably be wrong. Naturally, I forgot to include the most compelling argument. The noisy input stream is noisy only because we've never tamed it. If it becomes well-defined

Re: Non-Perl TAP implementations (and diag() problems)

2006-04-20 Thread Ovid
thing. I don't mind ##. Anyone else? 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: Non-Perl TAP implementations (and diag() problems)

2006-04-20 Thread Ovid
writing automated tools for TAP is problematic. There's more stuff folks would like to do and we need these issues resolved to make those things happen. 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

Re: Proposed kwalitee metric: consistent_newlines

2006-04-29 Thread Ovid
. Sounds like a good idea, but what about strings? You'd need to mask those out prior to the test, wouldn't you? And if they were multi-line strings, you'd need to mask 'em out with the right type of ending (unless PPI were being used). Cheers, Ovid -- If this message is a response to a question

Re: CPANTS is not a game.

2006-05-25 Thread Ovid
: $trick_that_naughty_cpants_thingy_into_thinking_I_use_strict = 'Ha, ha!'; use strict; Ha, ha!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: Unintended consequences

2006-05-26 Thread Ovid
. Huh? Can you post an example? The logical spot for having the module phone home would be in the Makefile.PL. I also glanced at some tests, but didn't see anything there, either. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions

Re: Test::Harness wrangling

2006-06-29 Thread Ovid
: '3' # expected: '4' # this is diag output That would be easy to parse, should be trivial to implement and, I suspect, be backwards compatible. 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

Re: Test::Harness wrangling

2006-06-29 Thread Ovid
, Ovid

Re: Test::Harness wrangling

2006-06-29 Thread Ovid
, Ovid

Re: Update from YAPC::NA

2006-06-29 Thread Ovid
feedback as to whether or not such a feature would be incorporated. And while we're at it, another non-bug but definitely useful feature out be for TAP output to have a version number, but that's another story ... Sorry for the line noise. Cheers, Ovid -- If this message is a response to a question

TAP Grammar

2006-07-03 Thread Ovid
Hi all, I would still like to be in a position to write a grammar for TAP, but I've heard no answers to my questions. Should I assume that a formal grammar is not wanted/desired at this point? Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow

Re: TAP Grammar

2006-07-03 Thread Ovid
can easily produce some output which doesn't make sense. Thus, I'm stuck in the awkard position of needing fundamental issues resolved before I can proceed in a confident manner. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions

Re: TAP extension proposal: test groups

2006-07-03 Thread Ovid
to be loaded rather than use heuristics to guess what version is allowed. Cheers, Ovid

Re: TAP Grammar

2006-07-03 Thread Ovid
- Original Message From: chromatic [EMAIL PROTECTED] On Monday 03 July 2006 09:12, Ovid wrote: I am tempted, but there are some problems with parsing TAP output as it currently stands. I can write a grammar for it, but the grammar can easily produce some output which doesn't

Re: TAP Grammar

2006-07-03 Thread Ovid
community do you program for? Just do it, man. Get approval / fix it later. Doing it now. Tougher than I thought! Due to some weird semantics involved, I've already jettisoned HOP::Lexer and have rolled my own :( Not sure when it will be done. Cheers, Ovid

Re: TAP extension proposal: test groups

2006-07-04 Thread Ovid
be irrelevant. Mandating that would only impose extra overhead. Cheers, Ovid

More on the TAP::Grammar

2006-07-04 Thread Ovid
}); $parser-parse($tap); # croaks if it can't print $parser-plan; foreach my $line ( $parser-test_lines ) { print $line; } I'm sure there's more information I can capture and provide for you, so tell me what you want (if I can easily provide it, I will). Cheers, Ovid -- If this message

TAP::Parser 0.01 (major alpha!)

2006-07-04 Thread Ovid
} You can download it from http://users.easystreet.com/ovid/downloads/TAP-Parser-0.01.tar.gz It'd be awfully swell if you can feed it a bunch of TAP output so I can see what if fails on. Kibitzing is also encouraged, though I warn you that the thing was thrown together rather hastily. Cheers

Re: Proposal Suggestion - Test::Run [was Re: [Israel.pm] Fwd: Call for proposals -- Perl Foundation Grants]

2006-07-07 Thread Ovid
that's not the best approach, but sooner or later we have to trust *someone's* judgment. 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/

  1   2   3   4   5   6   7   >