Re: Starting with a fresh sandbox

2002-04-11 Thread Andy Lester
makes sure each .pm has a corresponding .t, but of course I can't guarantee that the .t is even useful. xoxo, Andy -- 'Andy Lester[EMAIL PROTECTED] Programmer/author petdance.com Daddy parsley.org/quinn Jk'=~/.+/s;print((split//,$&) [unpack'C*',"n2]3%+>\"34.'%&.'^%4+!o.'"])

Starting with a fresh sandbox

2002-04-11 Thread Andy Lester
. Even in an eval {}, my namespace is going to be polluted after the first use_ok(), sin't it? Thanks, Andy -- 'Andy Lester[EMAIL PROTECTED] Programmer/author petdance.com Daddy parsley.org/quinn Jk'=~/.+/s;print((split//,$&) [unpack'C*',"n2]3%+>\"34.'%&.'^%4+!o.'"])

Re: Starting with a fresh sandbox

2002-04-11 Thread Andy Lester
, but that's my bummer, not yours. This method works well for about 2/3rds of the modules. Thanks for th input. xoxo, Andy -- 'Andy Lester[EMAIL PROTECTED] Programmer/author petdance.com Daddy parsley.org/quinn Jk'=~/.+/s;print((split//,$&) [unpack'C*',"n2]3%+>\"34.'%&.'^%4+!o.'"])

Re: Pondering Test::Depend

2002-06-08 Thread Andy Lester
involved. I'm personally using Test::Harness to run tests on other files as well. * Dependencies should be optionally based on something other than just the timestamp of a file. For instance, I suspect I'd like to be able to make the date dependency on "SELECT MAX(DateUpdate

use_ok w/version numbers

2002-07-01 Thread Andy Lester
e I'd like to have one .t file that ensures that I have proper module prereqs for my entire source tree. xoxo, Andy -- 'Andy Lester[EMAIL PROTECTED] Programmer/author petdance.com Daddy parsley.org/quinn Jk'=~/.+/s;print((split//,$&) [unpack'C*',"n2]3%+>\"34.'%&.'^%4+!o.'"])

Re: [PATCH Test::More] Allow isa_ok( $classname, $parent )

2002-07-06 Thread Andy Lester
) as a constructor, but you still want to +ensure that the correct value is being returned. + +And of course, you don't have to test only your code. The more tests you +write, the more stringent your checking: + +# From a DBI program +my $row = $dbh->fetch; +isa_ok( $row, 

Testing failure in Test::Builder-based modules

2002-08-03 Thread Andy Lester
.test-html-lint-overloadok In this case, "unexpectedly succeeded" really means "html_ok is broken". :-( Thoughts? Thanks, xoxo, Andy -- 'Andy Lester[EMAIL PROTECTED] Programmer/author petdance.com Daddy parsley.org/quinn Jk'=~/.+/s;print((split//,$&) [unpack'C*',"n2]3%+>\"34.'%&.'^%4+!o.'"])

Re: Web Site Testing

2002-09-23 Thread Andy Lester
the structure of the HTML in a page. Also, Max Maischien's newly-released Test::HTML::Content allows for tests on the contents of the file, with things like "do we have a link to X", "do we have any comments on the page?" and so on. http://search.cpan.org/dist/Test-HTML-

Test::Pod 0.95 is out

2003-03-03 Thread Andy Lester
There's a new Test::Pod in town, and it uses Sean's Pod::Simple instead of Pod::Checker. Details at http://use.perl.org/~petdance/journal/10867 Comments welcome, of course. xoxo, Andy -- Andy Lester, lead singer & driver of the Winnebago [EMAIL PROTECTED], AIM:petdance http:

Re: Test::Pod 0.95 is out

2003-03-04 Thread Andy Lester
lly more realistic. Right, it's the silly warnings that I'm most concerned about getting rid of. Pod::Simple is indeed more realistic. xoa -- Andy Lester, lead singer & driver of the Winnebago [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: WWW::Mechanize 0.37 released

2003-03-05 Thread Andy Lester
Damn. I still forgot to check out this incredible cool sounding module, I have some HTML-output testing in a testsuite and it is very whacky and uncomplete... I'd be glad to look at it, and see what kinds of things Mechanize can do. xoa -- Andy Lester, lead singer & driver of the

Re: WWW::Mechanize 0.37 released

2003-03-06 Thread Andy Lester
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? xoa -- Andy Lester, lead singer & driver of the Winnebago [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: WWW::Mechanize 0.37 released

2003-03-05 Thread Andy Lester
t are meaningful without that access. 00.load.t, 99.pod and add_header.t are all that seem to be valid without it. xoa -- Andy Lester, lead singer & driver of the Winnebago [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: WWW::Mechanize 0.37 released

2003-03-06 Thread Andy Lester
RT ticket #2185. If anyone would like to implement this and submit the patch to me, I'd appreciate it. I'm fresh out of tuits for implementing daemons on the fly. xoa -- Andy Lester, lead singer & driver of the Winnebago [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: [PATCH] Test::Pod pod_ok( $foo, NO_POD | POD_OK ) also dogfood.t

2003-02-28 Thread Andy Lester
e_ok() and pod_string_ok(). But the dogfood is a good idea. xoa - Andy Lester, lead singer & driver of the Winnebago [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

WWW::Mechanize 0.37 released

2003-03-04 Thread Andy Lester
There's a new version of WWW::Mechanize for you people who do automated testing with it. It adds a title() and is_html() method, and removes the dependency on Clone, which I hope will fix stability issues on Windows. xoa -- Andy Lester, lead singer & driver of the Winnebago [EMAIL

Test::Harness 2.27_01 released

2003-03-23 Thread Andy Lester
ait.ph and WCOREDUMP anti-vommit protection more robust in cases where wait.ph loads but WCOREDUMP() pukes when run. - Added a LICENSE. - Ilya noticed the per test skip reason was accumlating between tests. xoa -- 'Andy Lester[EMAIL PROTECTED] Programm

Test::Harness 2.27_01 released

2003-03-23 Thread Andy Lester
and WCOREDUMP anti-vommit protection more robust in cases where wait.ph loads but WCOREDUMP() pukes when run. - Added a LICENSE. - Ilya noticed the per test skip reason was accumlating between tests. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: Using environment variables to control long running tests

2003-06-06 Thread Andy Lester
You beat me to it, but I think PERL_SMOKE would be better. The automated tools that need to run the long tests instead of the short tests are the "smokers". Except that "smoke" has the context of the perl distro tests that are getting done. If anybody's gonna be using the "smoke" concept, it'll

Re: Test-first development

2003-04-12 Thread Andy Lester
> > http://tejasconsulting.com/articles/test-first.html > > There's an article by some bloke about test driven development in this > month's Perl Journal. AND there's one lined up for the upcoming issue of The Perl Review! -- 'Andy Lester[

Re: Test::Deep namespace

2003-06-19 Thread Andy Lester
It's a Test::Builder based testing module, it's designed to replace and enhances Test::More's is_deeply() and eq_set(). is_deeply() has several limitiations like not handling circular references and ignoring the blessedness of references, it also has a few bugs. It would be nice if the functions

Re: [ANNOUNCE] Test::Warn::None 0.02

2003-06-24 Thread Andy Lester
All this "make sure no warnings fired" is good thinking. But why not roll it into Test::Harness, and make it switch selectable? It's really T::H that we want keeping an eye on this, right? xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: blocks and subplans again

2003-06-25 Thread Andy Lester
ifics... xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Updates to qa.perl.org

2003-08-15 Thread Andy Lester
There are a couple of minor tweaks to qa.perl.org. Soon, I'll have a page up for the Phalanx project and THEN we'll have ourselves a good time! xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Phalanx and testing distributions

2003-08-18 Thread Andy Lester
Some of this distribution testing could likely get incorporated into the Phalanx project, if I get it announced today like I'd like to do... Phalanx = "beefing up test suites of Perl and the top 100 CPAN modules to make a good test bed for Ponie" xoxo, Andy -- Andy Lester =>

Phalanx has started, and I need perl-qa's help

2003-08-21 Thread Andy Lester
serious ommissions from the Phalanx 100 module list... I'm turning to the perl-qa group for feedback BEFORE I announce to the world, so I appreciate any comments. Thanks, xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Phalanx has started, and I need perl-qa's help

2003-08-22 Thread Andy Lester
the core smokers. Core modules are phase two because of the Extra Excitement that will be caused by mucking with them and pumpking coordination and whatnot. Most I mention because they're important. Some I mention because they tend to break a lot and reveal subtle incompatibilities in Per

Announcing the Phalanx project

2003-09-26 Thread Andy Lester
tp://qa.perl.org/phalanx/. If you'd like to help out, join the perl-qa mailing list, or email me at [EMAIL PROTECTED] I look forward to hearing from you. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Phalanx site updates

2003-09-29 Thread Andy Lester
dded as we go along. Jay Flowers has started working on CGI::Application, I believe. Jay, I'll need to know the Before stats on it. The CMS on perl.org makes updates really simple, so please let me know what's going on and I'll updated fairly often. Thanks, xoxo, Andy -- Andy L

We're up to 5 hoplites

2003-10-01 Thread Andy Lester
We now have 5 distributions currently being worked on in the Phalanx project. See http://qa.perl.org/phalanx/status.html for details. Come join the fun! Pick a module and let me know about it! xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: problem with a test exemple on the Phalanx web site

2003-10-04 Thread Andy Lester
an arg for unlink and not for ok. Thanks. I rewrote it as is( unlink($filename), 1, "Remove $filename" ); Better to test for exactness than truth. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Testers & PASS

2003-10-11 Thread Andy Lester
lease include me on those, as I'm updating Test::Reporter as my module on Phalanx. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Phalanx updates

2003-10-12 Thread Andy Lester
orter, but I haven't done anything yet, other than suck it into my CVS. How are the rest of you doing? Thanks, xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Devel::Cover and large test suites

2003-10-20 Thread Andy Lester
I'm going to be adding to Test::Harness soon (Where are those tuits?) is the ability to run the .t files in random order, in the hopes of exciting bugs that are for some reason dependent on order of execution. xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Devel::Cover and large test suites

2003-10-20 Thread Andy Lester
hat order. The rest are shuffled. But nothing definite yet. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Trying to spear a phalanx shield for pod

2003-10-24 Thread Andy Lester
> Is it worth trying to agree on a de facto standard name for > such a beast: 99-pod.t/99_pod.t/99.pod.t/99pod.t? Personally, I'd just as soon not have it be one of the numeric ones. It doesn't matter what order it's run in. xoa -- Andy Lester => [EMAIL PROTEC

Re: Phalanx updates

2003-10-28 Thread Andy Lester
7;re holding off on the biggies (the modules in the top two sections of the list) until we've had some success with the other 70. I definitely want all 30 of the top 30 covered. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Phalanx

2003-10-29 Thread Andy Lester
ml until we get some successes on smaller modules, and some lessons learned from them. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: Phalanx

2003-10-29 Thread Andy Lester
irely. When I came back from OSCON I was awed by how much raw Perl power is in London.pm, and how much they drive the Perl community, especially on Perl 6. I came back to Chicago.pm and challenged them to do something similar with Phalanx. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance

Hoplites report!

2003-10-29 Thread Andy Lester
http://qa.perl.org/phalanx/status/Archive-Tar.pod and mail it back to me, that would be fine. Thanks, xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: Hoplites report!

2003-10-30 Thread Andy Lester
I got no response from the author. In worst case, I plan to post the tests files on rt.cpan.org. I'm sure Damian will be fine with it. I told him about the project a while ago and he seemed genuinely excited about it. xoa - Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdanc

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

2003-10-31 Thread Andy Lester
ally, I find the POD useful when I'm going thru a Devel::Cover run. I interleave POD with functions and I like to refer to my docs. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Hoplites: Watch for "each"

2003-10-31 Thread Andy Lester
Anything that uses the C operator is a prime candidate for bugginess. Please keep an eye out for them as you do your testing. Any function that contains C oughta be heavily checked. Ditto anything that uses C or C without a sort. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http

Test::Harness 2.31_02: Now with prove (nee grind)

2003-10-31 Thread Andy Lester
/ # -v =verbose, -b=use blib, -r=-recursive Many fun things to do, geared towards making the cycle of code/test a shorter one... xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: Hoplites: Watch for "each"

2003-11-01 Thread Andy Lester
tc ); while ( my($key,$val) = each %tests ) { # do a test } The order in which these tests are done will be different between runs of the code... xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: Hoplites: Watch for "each"

2003-11-03 Thread Andy Lester
prove and Test::Harness. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

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

2003-11-03 Thread Andy Lester
ind a clean way to make it an option, I'll do so. If I've got docs for a function, then I want to see them while I'm considering the code. Code and documentation are, especially w/POD, interconnected. That's the beautiful thing about POD. -- Andy Lester [EMAIL PROT

Re: tesing exceptions of Error.pm

2003-11-27 Thread Andy Lester
How am I going to test this ? Take a look at Test::Warn for warnings, and Test::Exception for errors. I think qa.perl.org needs a listing of Test::* modules so that people know what's available. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.per

Re: tesing exceptions of Error.pm

2003-11-28 Thread Andy Lester
ght now. Actually, he's done working, but I have to finish my part. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: T::H 2.38

2003-12-02 Thread Andy Lester
prove begins with #!/usr/bin/perl and prove-switches.t runs it with my @actual = qx/$prove -Ifirst -D -I second -Ithird -Tvdb/; A $^X should be inserted here. (in bleadperl, the shebang line of prove is fixed when installed.) What should be in prove's shebang? xoa -- Andy Lester [

Re: T::H 2.38

2003-12-03 Thread Andy Lester
there? Or are you saying I should run it as my @actual = qx/$Config{startperl} $prove -Ifirst /; xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: bug? in Test::More error counting ? MINIMIZED TEST CASE

2003-12-15 Thread Andy Lester
> It appears that this doesnt error on 5.8.2, but is repeatable on 5.00503, > as follows: I don't see any problem here. You can't have more than one plan. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: "Default" test name?

2004-02-02 Thread Andy Lester
the name itself, and all of my Test::* modules create their own test name if there's not one passed. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: ok(1,1) vs. ok ('foo','foo') in Test::More

2004-02-03 Thread Andy Lester
;t use numbers for your test >names. > # Very confusing. ok() is not a comparison. is() is a comparison. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: changes to T::H to enable continuous testing

2004-02-08 Thread Andy Lester
going to define arbitrary rules based on a sample size of one. I DO want to document the format, however, so that other languages can write to the T::H format reliably, and let T::H become the uber-tester. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: changes to T::H to enable continuous testing

2004-02-08 Thread Andy Lester
n this, unless I'm missing something. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Smoking CPAN

2004-02-10 Thread Andy Lester
> I've had more time recently, so I smoke tested the Phalanx 100. So what did you discover? xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Send me kwalitee news, please.

2004-02-18 Thread Andy Lester
I'd like to put some kind of reasonably fresh content up on qa.perl.org. If anyone's got, say, module announcements, that would make sense to appear on qa.perl.org, please send 'em to me. I'd just like qa.p.o to be more than a pile of links. thanks, xoa -- Andy Lester

Re: Aborting testsuits

2004-02-23 Thread Andy Lester
> Because it is, in Test::More. I've yet to need it. Nobody's given me a > patch to implement it. And T::H doesn't recognize anything like that either? -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Hoplites, report!

2004-03-04 Thread Andy Lester
It's been a while since I've heard from any hoplites. Where are you on your individual Phalanx modules? I know Hoplite Gessner is pretty close to done on his, but I haven't heard back on whether his changes were accepted. xoxo, Commander Andy -- Andy Lester =>

Re: [ANNOUNCE] Devel::Cover 0.35

2004-03-08 Thread Andy Lester
> Probably the most important change is that Devel::Cover will now work > with programs that turn on tainting. I gather this is important for > Phalanx. Hi Andy! Never mind Phalanx, I'd just like to run Test::Harness under it! I'll let you know what I find! -- Andy Lester

Re: [ANNOUNCE] Devel::Cover 0.35

2004-03-08 Thread Andy Lester
Thanks for the updates! xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Devel::Cover - require 5.8?

2004-04-02 Thread Andy Lester
like D::C is pretty bleeding edge, and it's OK to require 5.8. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: rfc: prove -p passthrutag=passthruval -p tag2=val2 @testfiles

2004-04-07 Thread Andy Lester
> Id like to propose that I (or someone like me) add a passthru option > which lets someone pass thru options and arguments to the test scripts > being run. Is this better than some kind of environment variable that you set, and that your test programs detect and use? xoa -- An

Re: rfc: prove -p passthrutag=passthruval -p tag2=val2 @testfiles

2004-04-07 Thread Andy Lester
ork? That'll give us something more definite to base it on. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: reporting bugs to RT

2004-05-10 Thread Andy Lester
at at one point, Jesse Vincent was having problems with RT, and was moving, and got hacked, all within about a week of each other or so, so syncing with CPAN didn't happen. Something like that. xoa -- Andy Lester [EMAIL PROTECTED], AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/

Re: hoplite report for DBI : Part 2

2004-05-10 Thread Andy Lester
); my $sql2 = 'select size from . where name = "LITERAL: \r\n"'; my $sql3 = "select size from . where name = \"EXPANDED: \r\n\""; @@ -97,10 +93,12 @@ # do a little work foreach (1,2,3) { my $sth2 = $dbh->prepare($sql2); + isa_ok( $sth2, 'DBI::st' ); $sth2->execute(); $sth2->fetchrow_hashref; $sth2->finish; my $sth3 = $dbh->prepare($sql3); + isa_ok( $sth3, 'DBI::st' ); $sth3->execute(); $sth3->fetchrow_hashref; $sth3->finish; @@ -109,7 +107,7 @@ # load dbi.prof $prof = DBI::ProfileData->new(); -ok($prof and ref $prof eq 'DBI::ProfileData'); +isa_ok( $prof, 'DBI::ProfileData' ); # make sure the keys didn't get garbled $Data = $prof->Data; -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: hoplite report for DBI : Part 2

2004-05-10 Thread Andy Lester
ike() because we need $1 # version matches VERSION? (DBI::ProfileDumper uses $self->VERSION so # it's a stringified version object that looks like N.N.N) -ok($1, DBI::ProfileDumper->VERSION); +is( $1, DBI::ProfileDumper->VERSION, 'Version numbers match' ); # check that expected key is there -ok($prof =~ /\+\s+1\s+\Q$sql\E/m); +like( $prof, qr/\+\s+1\s+\Q$sql\E/m ); # unlink("dbi.prof"); # now done by 'make clean' - -1; -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

DBI tests

2004-05-11 Thread Andy Lester
Changes file that tells me otherwise. The most "very recent" version of Test::More is from August 2002. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: hoplite report for DBI : Part 2

2004-05-11 Thread Andy Lester
it comes from a DB, should be taint-aware, I think. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: How can I get involved in the Phalanx Project

2004-05-07 Thread Andy Lester
aying) projects came to the fore. Let's understand the problem before proposing solutions. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: How can I get involved in the Phalanx Project

2004-05-07 Thread Andy Lester
sing coverage, especially prior to DBI v2. Did I not hit all the existing test files? Or just some of 'em? Also, look into using Devel::Cover to see which parts of DBI are getting exercised and which aren't. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Testing quickref

2004-05-01 Thread Andy Lester
Ian Langworth has created a great quickref for Test::* modules at http://langworth.com/downloads/perl_test_refcard.pdf. I put a link to it up on qa.perl.org. xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: reporting bugs to RT

2004-05-05 Thread Andy Lester
On Wed, May 05, 2004 at 11:40:32PM -0200, Gabor Szabo ([EMAIL PROTECTED]) wrote: > Is there some command line tool that can be used to report bugs to RT ? Sure, it's called "sendmail". If you want to send a bug on Test::Harness, send an email to [EMAIL PROTECTED] xoa -- And

Re: reporting bugs to RT

2004-05-05 Thread Andy Lester
hors ignore it, I'm sure. I have a note in my modules saying "Please send all requests to". xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: hoplite report for Parse::RecDescent

2004-05-07 Thread Andy Lester
an only incorporate tests when everything is covered." ANY amount of test improvement is still an improvement. I sent some DBI test patches a month ago, and I thought Tim Bunce was going to reach through the monitor and give me a big wet kiss. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: DBI tests update

2004-05-15 Thread Andy Lester
ring and then it was happy. YMMV. xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: DBI tests update

2004-05-15 Thread Andy Lester
42), so I > think maybe this is a different problem. One easy, empirical way to find out! xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Test functions return values.

2004-05-25 Thread Andy Lester
inal line there should be a simple "return $ok". xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Adding analysis to Devel::Cover reports

2004-06-07 Thread Andy Lester
tooltip" thing isn't portable, though. -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

My Phalanx lightning talk

2004-06-10 Thread Andy Lester
So I'm giving an LT on Phalanx next week in Buffalo. Anything in particular y'all think I should mention? xoxo, Andy To: Andy Lester <[EMAIL PROTECTED]> Subject: Your Lightning Talk Your proposal for a Lightning Talk at the 2004 YAPC::America::North has been accepted.

Re: My Phalanx lightning talk

2004-06-10 Thread Andy Lester
g a module to do, and then working on it, which has so far not worked at all, that we should hold up a module (or a handful of them) and say "OK, this is what we're working on". It certainly seemed to work with the DBI stuff last month. Thoughts? xoa -- Andy Lester => [EM

Re: empty tests, Test::Harness, and Test::Inline

2004-06-11 Thread Andy Lester
; them out in my build script. Seems to me that if T:H is passed a test file, it's not unreasonable for it to expect at least one test. How about if T:I created a dummy test in the absence of any others? xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: empty tests, Test::Harness, and Test::Inline

2004-06-11 Thread Andy Lester
modules. I agree about skipping noise, but then you'd have T::H ignoring empty files, which might, in another case, indicate something gravely wrong. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Perl Test-First Kata

2004-06-18 Thread Andy Lester
On Fri, Jun 18, 2004 at 12:03:51PM -0700, chromatic ([EMAIL PROTECTED]) wrote: > Is anyone else interested in writing some small excercises for people to > practice their Perl test-fu? Yes. A lot. I think it'll bring many to the light. xox, Andy -- Andy Lester => [E

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

2004-06-25 Thread Andy Lester
= My::Foo->new( bar => 14, bat => \$wango ); isa_ok( $foo, 'My::Foo' ); The more checks you have, the better. Sure, the first isa_ok technically "covers" the constructor, but why not check after EVERY constructor? The 2nd example is really an entirely different test

Re: WWW::Mechanize and ASP.NET

2004-06-25 Thread Andy Lester
n your ASP.Net side? A 500 error is a problem on the server. That error is logged somewhere on the server. This isn't a Mech problem. xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: how to run test.pl before the t/*.t tests ?

2004-07-08 Thread Andy Lester
what Phalanx is about. I think Parse::RecDescent is on the Phalanx 100. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Phalanx: What if full coverage isn't possible? (fwd)

2004-07-09 Thread Andy Lester
eful *heuristic* for test effectiveness. Like all > heuristics if you push it too far it falls apart. Get as close to 100% as > is useful and don't worry about the rest. Words to live by. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Phalanx: What if full coverage isn't possible? (fwd)

2004-07-11 Thread Andy Lester
meant to be > configured in the "use" statement, and have little or no subroutines Devel::Cov er handles this for you. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Phalanx: What if full coverage isn't possible? (fwd)

2004-07-11 Thread Andy Lester
mes. Even though This also ignores the constants that we usually make all-caps. use constant PANTS => 42; # is actually sub PANTS() {42} I'm not sure if that's a feature or a problem. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Data::Page is at 100%

2004-07-12 Thread Andy Lester
s to tests?" "Yeah!" "OK, here you go" "Thanks, released!" xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: [ANNOUNCE] Test::Simple 0.48_02

2004-07-19 Thread Andy Lester
at would be the most swell. xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Little lost wiki...

2004-08-01 Thread Andy Lester
anx.kwiki.org, too, when we were together at OSCON. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Test-Regex-0.01.tar.gz

2004-08-02 Thread Andy Lester
w this will do. Thoughts? xoa - Forwarded message from PAUSE <[EMAIL PROTECTED]> - The uploaded file Test-Regex-0.01.tar.gz has entered CPAN as file: $CPAN/authors/id/P/PE/PETDANCE/Test-Regex-0.01.tar.gz size: 2890 bytes md5: 565b7e75907b621dfc411bb967b38fe7 No act

Phalanx coverage dumping

2004-08-05 Thread Andy Lester
if someone generated Devel::Cover dumps for the Phalanx 100. Like http://pjcj.sytes.net/cpancover/ but for http://qa.perl.org/phalanx/distros.html. I also wonder if the 100 would be different now than when I created it a year ago. xoxo, Andy -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Redoing the Phalanx 100

2004-08-07 Thread Andy Lester
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. xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Re: Redoing the Phalanx 100

2004-08-07 Thread Andy Lester
$ 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? xoa -- Andy Lester =>

Patch for t/op/sleep.t

2004-08-08 Thread Andy Lester
_ok( $diff, '>=', 2, 'Actual time diff is at least 2 seconds' ); +cmp_ok( $diff, '<=', 10, '... and no more than 10' ); -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

Test for functions with operator names

2004-08-13 Thread Andy Lester
quot;tr-amper", "&tr() is func" ); # y operator can_ok( 'main', "y" ); eval "y('unqualified')"; like( $@, qr/^Transliteration replacement not terminated/, "y('unqualified') doesn't work" ); is( main::y('main'), "y-main", "main::y() is func" ); is( &y('amper'), "y-amper", "&y() is func" ); =pod from irc://irc.perl.org/p5p 8/12/2004 kane-xs bug or feature? purlYou decide kane-xs [EMAIL PROTECTED] ~]$ perlc -le'sub y{1};y(1)' kane-xs Transliteration replacement not terminated at -e line 1. Nicholasbug I think kane-xs i'll perlbug rgs feature kane-xs smiles at rgs kane-xs done rgs will be closed at not a bug, rgs like the previous reports of this one Nicholasfeature being first class and second class keywords? rgs you have similar ones with q, qq, qr, qx, tr, s and m rgs one could say 1st class keywords, yes rgs and I forgot qw kane-xs hmm silly... Nicholasit's acutally operators, isn't it? Nicholasas in you can't call a subroutine with the same name as an operator unless you have the & ? kane-xs or fqpn (fully qualified package name) kane-xs main::y() works just fine kane-xs as does &y; but not y() AndyIf that's a feature, then let's write a test that it continues to work like that. =cut -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance

  1   2   3   4   5   >