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

2004-02-06 Thread Michael G Schwern
On Fri, Feb 06, 2004 at 03:14:33PM -0600, Scott Bolte wrote: On Fri, 6 Feb 2004 12:22:24 -0800, Michael G Schwern wrote: It wouldn't be Test::Harness, it would be a seperate Test::Depends or something. I could live with that, but why do you think it needs to be separate

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

2004-02-08 Thread Michael G Schwern
, and let T::H become the uber-tester. Some sort of BNF, if the syntax can be wedged into one, would be nice. What does need to be done is for me to finish abstracting out the formatter to allow custom harness more easily. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com

Re: Testing Inline::C

2004-02-11 Thread Michael G Schwern
pukes. However, I don't know how these will interact with Inline::C. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ That which stirs me, stirs everything. -- Squonk Opera, Spoon

GNU Aegis help wanted.

2004-02-10 Thread Michael G Schwern
need it. [1] For those of you unfamiliar with Aegis, I wrote up a little Aegis From 10,000 Feet piece a while back. http://www.pobox.com/~schwern/tmp/aegis.nutshell Just keep repeating to yourself, Its not CVS. Its not CVS. Its not CVS. -- Michael G Schwern[EMAIL PROTECTED] http

Distributed testing idea

2004-02-11 Thread Michael G Schwern
never get done. But if we keep it simple something workable can probably be knocked together in a few days. I'm putting this up on the MakeMaker Wiki for collaborative refinement. http://www.makemaker.org/wiki/?AutomatedTestDistribution -- Michael G Schwern[EMAIL PROTECTED] http

Re: Distributed testing idea

2004-02-18 Thread Michael G Schwern
to use to make things easier for them. Easy, simple, and effective if you can get people testing. Turn around time too slow and requires a human. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ purl Hey Schwern! honk, honk, honk, honk, honk, honk, honk, honk, honk

Re: Distributed testing idea

2004-02-18 Thread Michael G Schwern
understand. There's nothing for the user to keep up to date by hand. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ HA HA HA You're all so rediculous! But thanks for the money!

Re: Distributed testing idea

2004-02-23 Thread Michael G Schwern
mentioned earlier. Thing is who is going to give access to their machine(s) via some ad. hoc. scheme? I am not for a start. Why would the method of network transport figure into that decision? -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Do not try comedy at home

Re: Distributed testing idea

2004-02-23 Thread Michael G Schwern
On Sun, Feb 22, 2004 at 06:36:22AM -0600, Scott Bolte wrote: On Sun, 22 Feb 2004 01:07:38 -0500, Michael G Schwern wrote: See above. Yes, ssh is not portable enough. Where is the gap? I have OpenSSH on every Unix platform I use and, with cygwin's help, all the windows based

Re: Nesting Test::Harness

2004-03-26 Thread Michael G Schwern
incidental coverage for things it depends on. Test::Harness just runs the tests you give it. Simplest thing to do is to just write a little script that has the necessary logic to determine what set of tests to run and feed that file list to runtests(). -- Michael G Schwern[EMAIL

Re: Test::More SKIP block

2004-04-29 Thread Michael G Schwern
$num_left = $TB-expected_tests - $TB-current_test; $TB-skip($why) for 1..$num_left; exit; } -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Let's leave my ass out of this, shall we?

Re: Test::More SKIP block

2004-04-30 Thread Michael G Schwern
'no_plan'; pass(Test this); SKIP: { skip because, 1 } exit; pass(This is never run); -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ There's only one thing to do: MIX HARD LIQUOR and BEER!!! -- http://www.angryflower.com

Re: Mapping test cases to bug databases

2004-07-07 Thread Michael G Schwern
G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ mendel ScHWeRnsChweRNsChWErN SchweRN SCHWErNSChwERnsCHwERN sChWErn ScHWeRn schweRn sCHWErN schWeRnscHWeRN SchWeRN scHWErn SchwErn scHWErn ScHweRN sChwern

Re: Test functions return values.

2004-07-07 Thread Michael G Schwern
to clear up the ambiguity around use_ok, require_ok and is_deeply. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ You're smoother than a tunnel of shining sorrow.

Re: Test::Inline should not capture STDOUT, STDERR

2004-07-07 Thread Michael G Schwern
. Also, --no-trap-stdout and --no-trap-stderr options might be in order. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ It's Flypaper Licking time!

Re: Test::Inline should not capture STDOUT, STDERR

2004-07-07 Thread Michael G Schwern
*STDERR; -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ I'm exploring my nipples.

[IDEA] Drop into the debugger on failure

2004-07-08 Thread Michael G Schwern
this sort of thing. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Cuius rei demonstrationem mirabilem sane detexi hanc subscriptis exiguitas non caperet.

Re: [IDEA] Drop into the debugger on failure

2004-07-08 Thread Michael G Schwern
On Thu, Jul 08, 2004 at 08:59:38PM +0100, Fergal Daly wrote: On Thu, Jul 08, 2004 at 01:59:35PM -0400, Michael G Schwern wrote: Likely you'd control if you wanted this behavior with HARNESS_PERL_SWITCHES=-MTest::AutoDebug This can be implemented, currently, by adding a post hook onto

Re: [IDEA] Drop into the debugger on failure

2004-07-08 Thread Michael G Schwern
; use Hook::LexWrap; wrap 'Test::Builder::ok', post = sub { my $tb = shift; my $ok = $_[-1]; enter_the_debugger if !$ok; }; Or something like that. -- Michael G Schwern[EMAIL PROTECTED] http

Re: [IDEA] Drop into the debugger on failure

2004-07-09 Thread Michael G Schwern
there should be only 1 real Test::Builder object but allowing other instances would make test-module testing easier and test nesting (suites of suites etc) possible, Yes, this is planned for 0.50. If nothing else it will let Test::Builder test itself and make Mark Fowler handy. -- Michael G Schwern

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

2004-07-09 Thread Michael G Schwern
utility (database). Test coverage is a useful *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. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ 11. Every old

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

2004-07-09 Thread Michael G Schwern
; $this || return; Basically anything of the $foo || constant variety. Devel::Cover could probably be smartened up to handle these cases better. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Fuck with me and I will saw off your legs. http://www.unamerican.com/

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

2004-07-09 Thread Michael G Schwern
On Fri, Jul 09, 2004 at 06:31:09PM -0400, Michael G Schwern wrote: Looking through a coverage analysis I just ran, here's some more idioms that trip up 100% coverage. my $foo = $bar || ''; my $foo = $bar || 1; $this || return; Basically anything of the $foo

Re: Looking for module dependency information

2004-07-10 Thread Michael G Schwern
to do would be to make a local miniCPAN mirror [1] and walk through the archive files [2] in modules/02packages.details.txt looking for META.yml. [1] http://www.stonehenge.com/merlyn/LinuxMag/col42.html [2] Archive::Any will come in handy -- Michael G Schwern[EMAIL PROTECTED] http

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

2004-07-11 Thread Michael G Schwern
to Richard to skip /^[A-Z]$/ by default. This nails all the magic methods I can think of. I just had an idea. Per module private/trustme lists for Pod::Coverage. =for Pod::Coverage trustme you_cant_find_my_docs() =for Pod::Coverage private im_really_private() -- Michael G Schwern[EMAIL

[ANNOUNCE] Test::Simple 0.48_02

2004-07-19 Thread Michael G Schwern
causing problems with tests relying on object destruction. - Added example of calculating the number of tests to Test::Tutorial - Peter Scott made the ending logic not fire on child processes when forking. * Test::Builder is once again ithread safe. -- Michael G Schwern

Re: [ANNOUNCE] Test::Simple 0.48_02

2004-07-19 Thread Michael G Schwern
On Mon, Jul 19, 2004 at 04:25:35PM +0100, Adrian Howard wrote: On 19 Jul 2004, at 07:25, Michael G Schwern wrote: [snip] There's a new feature. When run under Test::Harness diagnostic output will throw in a leading newline for better readability. [snip] Which causes anything testing

Re: [ANNOUNCE] Test::Simple 0.48_02

2004-07-30 Thread Michael G Schwern
On Thu, 29 Jul 2004 12:07:39 -0700, Geoffrey Young [EMAIL PROTECTED] wrote: the Apache-Test integration stuff we talked about at YAPC works just fine with 0.48_02. Lovely, thanks. As soon as I hear Test::Builder::Tester has adjusted for the formatting change I'll release this as 0.49.

Re: [ANNOUNCE] Test::Simple 0.48_02

2004-10-14 Thread Michael G Schwern
On Sun, 05 Sep 2004 19:38:12 -0400, Geoffrey Young [EMAIL PROTECTED] wrote: just out of curiosity, what's the word on 0.49? I've finally summoned the willpower to wrestle with Aegis to make branch closing not be a gulag-like exercise. 0.49 is ready to go except for some silly looking merge bug.

Re: Invalid value for shared scalar

2004-10-15 Thread Michael G Schwern
Here's how it is as of 0.49. If you want Test::More to be thread safe you have to use threads yourself and do it before you use Test::More. This is a change from previous versions. Previously I took the view that users will probably get this wrong so I'll just do it for them. The change was

Re: testing a shell command which prompts for output?

2004-10-16 Thread Michael G Schwern
On Sun, 17 Oct 2004 01:12:45 + (UTC), Mark Stosberg [EMAIL PROTECTED] wrote: It also worked. Here's what I used: `echo 'y' | my_shell_cmd` I'm sure there's some other cooler way, but this works well enough for me. Eventually you'll want something more flexible and portable. You can

[ANNOUNCE] Test::Simple 0.49

2004-10-14 Thread Michael G Schwern
Its about freakin' time. Has it really been two years since the last stable release? Yes it has. This is 0.48_02 plus a minor test and MANIFEST fix. INCOMPATIBILITIES WITH PREVIOUS VERSIONS * Threading is no longer automatically turned on. You must turn it on before you use Test::More if

dor and backwards compat (was Re: [ANNOUNCE] Test::Simple 0.49)

2004-10-21 Thread Michael G Schwern
. This follows the usual pattern of breaking compatibility. Warn about it in one stable series then eliminate it in the next. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Home of da bomb

Re: Where is Devel::Cover installed?

2004-10-30 Thread Michael G Schwern
On Fri, Oct 29, 2004 at 09:10:30PM -0400, James E Keenan wrote: Yes, as I subsequently discovered, it's in the mysteriously named 'darwin-2level' directory. This is the architecture specific directory where any modules with a non-portable component (read: compiled C code) goes. -- Michael G

Re: dor and backwards compat (was Re: [ANNOUNCE] Test::Simple 0.49)

2004-11-02 Thread Michael G Schwern
' foo $ bleadperl -wle 'sub lock { foo } print lock' foo $ bleadperl -wle 'sub err { foo } print err' Ambiguous call resolved as CORE::err(), qualify as such or use at -e line 1. syntax error at -e line 1, at EOF Execution of -e aborted due to compilation errors. -- Michael G Schwern

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

2004-10-16 Thread Michael G Schwern
On Tue, 24 Aug 2004 11:04:50 -0400, Peter Kay [EMAIL PROTECTED] wrote: Ok, what's the elegent way to ignore/dispose of the output the tested module produces? Tie STDOUT. Look at Test::More's own test suite for examples. http://search.cpan.org/src/MSCHWERN/Test-Simple-0.49/t/lib/TieOut.pm

[ANNOUNCE] Test::Simple 0.50

2004-11-19 Thread Michael G Schwern
Bill Moseley for noticing] -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ 7a. Good, Fast, Cheap: Pick any two (you can't have all three). -- RFC 1925

Test::Simple 0.51 prerelease

2004-11-23 Thread Michael G Schwern
on Windows (not a real bug). [rt.cpan.org 8022] - Change from CVS to SVK. Hopefully this is the last time I move version control systems. - Again removing File::Spec dependency (came back in 0.48_02) - Change from Aegis back to CVS -- Michael G Schwern[EMAIL PROTECTED

Re: Test::Simple 0.51 prerelease

2004-11-23 Thread Michael G Schwern
On Tue, Nov 23, 2004 at 04:57:19AM -0500, Michael G Schwern wrote: http://www.pobox.com/~schwern/Test-Simple-0.51.tar.gz Correction. http://www.pobox.com/~schwern/src/Test-Simple-0.51.tar.gz -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ They had applied

[ANNOUNCE] Test::Simple/More/Builder 0.51

2004-11-24 Thread Michael G Schwern
systems. - Again removing File::Spec dependency (came back in 0.48_02) - Change from Aegis back to CVS -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ My lips, your breast and a whole lotta strange arguing.

Re: Test::Simple 0.51 prerelease

2004-11-24 Thread Michael G Schwern
On Tue, Nov 23, 2004 at 10:51:26PM +0100, Tels wrote: On Tuesday 23 November 2004 10:57, Michael G Schwern wrote: http://www.pobox.com/~schwern/Test-Simple-0.51.tar.gz Just wanted to send you a big thank you for your work on Test::*. I am slwly converting my testsuites to Test::More

Re: Test::Simple 0.51 prerelease

2004-11-25 Thread Michael G Schwern
in order to figure out what's going on here. Could you send them? -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ I blame myself. AND SATAN.

Re: Test::Simple 0.51 prerelease

2004-11-25 Thread Michael G Schwern
On Fri, Nov 26, 2004 at 03:57:43PM +1100, Andrew Savige wrote: To try and cheer you up a bit, I'm delighted to report that your new Test-Simple-0.51 passed all tests on Windows XP under Perl 5.8.5 using NMAKE. Thank you, I am very much lacking in Windows tuits at the moment. -- Michael G

[ANNOUNCE] Test::Simple/More/Builder 0.51_01 Alpha release

2004-11-26 Thread Michael G Schwern
. Hacked around it. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Quando Omni Flunkus Moritati -- Red Green

Re: [ANNOUNCE] Test::Simple/More/Builder 0.51_01 Alpha release

2004-11-26 Thread Michael G Schwern
for that, something about eval'ing $VERSION. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ My enormous capacity for love is being WASTED on YOU guys -- http://www.angryflower.com/497day.gif

[ANNOUNCE] Test::Simple/More/Builder 0.51_02

2004-11-27 Thread Michael G Schwern
- Fixed bug in fail_one.t on Windows (not a real bug). - TODO reasons as overloaded objects now won't blow up under threads. [Autrijus Tang] - skip() in 0.50 tickled yet another bug in threads::shared. Hacked around it. -- Michael G Schwern[EMAIL PROTECTED] http

[ANNOUNCE] Test::Simple/More/Builder 0.52

2004-11-28 Thread Michael G Schwern
up under threads. [Autrijus Tang] - skip() in 0.50 tickled yet another bug in threads::shared. Hacked around it. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Hey you kids, come back here! I know who your parents are! You wouldn't do this if Nixon

Re: Name needed for Test.pm compatibility module

2004-11-30 Thread Michael G Schwern
to be Test.pm, not a new module. Just a new back-end. Yes, what Andy said. Ok, Test::Legacy it is. Now I have to figure out if I want to reimplement Test.pm from scratch or try and wedge a TB object into the existing code. Sean's added a lot of code since last I looked. -- Michael G Schwern

Re: [RFC] adding skip option directly to plan()

2004-11-30 Thread Michael G Schwern
; eval qq{use $module}; return $@ ? Can't load $module : 0; } I'm not totally pleased with having backwards logic but it does seem the simplest way to do it. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ MERV GRIFFIN!

Re: Test names vs. test comments

2004-12-02 Thread Michael G Schwern
. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Plus I remember being impressed with Ada because you could write an infinite loop without a faked up condition. The idea being that in Ada the typical infinite loop would be normally be terminated by detonation

MakeMaker Test::More repository now on svn.schwern.org

2004-12-05 Thread Michael G Schwern
. And it might jump to another server again, I dunno. And I'm not entirely happy with WebSVN... Everything is as stable as ever. [1] And as I work on more modules they'll get moved from CVS to there. [2] Which at the moment is just an alias to mungus.schwern.org. -- Michael G Schwern[EMAIL

Re: C implementation of Test::Harness' TAP protocol

2004-12-06 Thread Michael G Schwern
is this for? --- possible C ignorance I hope you're not emulating Test::More's exit code == # of tests failed feature that I'm planning on getting rid of. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ michael schwern is

Re: C implementation of Test::Harness' TAP protocol

2004-12-06 Thread Michael G Schwern
cmp_ok() using an eval. Could a macro prove useful here to do something similar? cmp_ok(foo, 'int', '==', bar); -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ I am the soul of honor, kindness, mercy, and goodness. Trust me in all things. -- Corwin, Guns

Re: C implementation of Test::Harness' TAP protocol

2004-12-06 Thread Michael G Schwern
* sbar = bar; cmp_ok(ifoo, int, eq, ibar); cmp_ok(sfoo, str, eq, sbar); return 0; } -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Kids - don't try this at--oh, hell, go ahead, give it a whirl...

Re: C implementation of Test::Harness' TAP protocol

2004-12-07 Thread Michael G Schwern
but that's just another way of saying don't use this. [1] I couldn't find a wait2() anywhere, just waitpid(). -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Don't step on my funk

Re: C implementation of Test::Harness' TAP protocol

2004-12-07 Thread Michael G Schwern
it. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Keep your stick on the ice. -- Red Green

Re: Test::Cookbook?

2004-12-07 Thread Michael G Schwern
/FAQ.pod And I should get the QA wiki working again. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ It's Crack Cocaine time!

Re: Devel::Cover cover command uses to much memory

2004-12-08 Thread Michael G Schwern
G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ It's Yellowing Laudanum time!

Kwalitee mascot

2004-12-11 Thread Michael G Schwern
://www.somethingawful.com/articles.php?a=2539 -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Life is like a sewer. What you get out of it depends on what you put into it. - Tom Lehrer

[ANNOUNCE] Test::Legacy 1.2500_01

2004-12-11 Thread Michael G Schwern
and *FOO{IO} properly. - maybe_regex() now handles undef gracefully. - maybe_regex() now handles 'm,foo,' style regexes. - sort_bug.t wasn't checking for threads properly. Would fail on 5.6 that had ithreads compiled in. [rt.cpan.org 8765] -- Michael G Schwern[EMAIL

Uncle Bob on Coding Standards

2004-12-13 Thread Michael G Schwern
the first few iterations, get the team together to decide. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Abandon failing tactics.

Re: Uncle Bob on Coding Standards

2004-12-14 Thread Michael G Schwern
styles is now odious to you, that's a communication problem. Part of easy communication is taking advantage of common idioms and conventions. Doesn't matter how clever it is, if its causing conflict with outsiders, dump it. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com

[ANNOUNCE] Test::Legacy 1.2501

2004-12-15 Thread Michael G Schwern
a description of test failures. This is slated to be fixed in the future. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Keep your stick on the ice. -- Red Green

Re: [ANNOUNCE] Test::Simple/More/Builder 0.54 (problem with signa ture?)

2004-12-16 Thread Michael G Schwern
perldoc -m ExtUtils::MANIFEST.SKIP and see if it looks like either of the urls above. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ You're the sickest teenager I've ever set my wallet on.

Re: Uncle Bob on Coding Standards

2004-12-14 Thread Michael G Schwern
time nicely. The book can be had for $4 used. -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ AY! The ground beef, she is burning my groin! http://sluggy.com/d/990105.html

[ANNOUNCE] Test::Simple/More/Builder 0.54

2004-12-15 Thread Michael G Schwern
2004 - Apparently its possible to have Module::Signature installed without it being functional. Fixed the signature test to account for this. (not a real bug) -- Michael G Schwern[EMAIL PROTECTED] http://www.pobox.com/~schwern/ Mines are equal opportunity weapons.

Re: [ANNOUNCE] Test::Simple/More/Builder 0.54 (problem with signa ture?)

2004-12-15 Thread Michael G Schwern
04B8 E9D5 93A2 5CA8 F1AA 4F82 E2DC 2C3F 3F34 == SKIPPED CHECKING 'Makefile'! (run Makefile.PL to ensure its integrity) === Not in MANIFEST: foo Grr. Mandatory file locking strikes again. is_fh.t didn't close a temp file before unlinking it. -- Michael G Schwern[EMAIL PROTECTED

Re: Test::Builder versus Unicode

2004-12-20 Thread Michael G Schwern
anyone's going to drive binary data through a TB filehandle. The question is how does one do it without breaking older perls? -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ Once is a prank. Twice is a nuisance. But NINE TIMES is a TRADITION. -- Mark-Jason

Re: Test::Builder versus Unicode

2004-12-20 Thread Michael G Schwern
it was set to before? I'm always going to be shoving text out through this filehandle. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ And God was pleased. And Dog was happy and wagged his tail. And Adam was greatly improved. And Cat did not care one way

Re: Test::Builder versus Unicode

2004-12-20 Thread Michael G Schwern
, this is not something the user should have to care about. Only text is shoved through those filehandles so setting them to handle Unicode should always be the right thing to do, unless it breaks an old perl. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ I hate war as only a soldier

Re: Test::Builder versus Unicode

2004-12-20 Thread Michael G Schwern
My Official Policy on this is now to let people who actually understand character encodings to work it out and just wait for a patch. PS Somebody should drag autrijus into this. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ We don't know. But if we did, we

Re: Test::Legacy warnock'd

2004-12-21 Thread Michael G Schwern
modules you can get the same intent with Test::Builder-reset. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ ...and that, children, is how to clean and load a .38 revolver. Questions?

Re: Test::Legacy warnock'd

2004-12-21 Thread Michael G Schwern
; ...etc... -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ You see, in this world there's two kinds of people. Those with loaded guns, and those who dig. Dig. -- Blondie, The Good, The Bad And The Ugly

Re: Phalanx update please!

2004-12-26 Thread Michael G Schwern
but Ima::DBI doesn't even show up on the list. If Ima::DBI breaks, Class::DBI and everything it depends on breaks. So all of Class::DBI's dependencies can be weighted towards Ima::DBI. I think all of this can be derived from a list of Module: Dependency1, Dependency 2, etc... -- Michael G

Re: Kwalitee mascot

2004-12-28 Thread Michael G Schwern
/Acme/EyeDrops/koaladile.eye That's awsome! Though I still prefer this one: http://search.cpan.org/src/ASAVIGE/Acme-EyeDrops-1.45/lib/Acme/EyeDrops/schwern.eye Good likeness. :) -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/ This Ring, no other, is made

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

2005-01-26 Thread Michael G Schwern
On Mon, Jan 24, 2005 at 04:11:56PM -0500, Ian Langworth 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

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

2005-01-26 Thread Michael G Schwern
On Wed, Jan 26, 2005 at 02:48:56PM -0600, [EMAIL PROTECTED] wrote: My main gripe is that the infrastructure for it is less OO friendly. The example with the HTML output was awesome..until i looked at how it was done. The inability to get a data structure back for the test results is

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

2005-01-26 Thread Michael G Schwern
On Wed, Jan 26, 2005 at 05:55:24PM -0500, David Golden wrote: While this simple example just has the test function shove a reference to a hash onto a global array @{$Tester::RESULTS{$filename}}, the test function could just as easily create an object (Test::Object::Ok, Test::Object::Is,

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

2005-01-27 Thread Michael G Schwern
On Thu, Jan 27, 2005 at 05:48:15PM +0100, Tels wrote: If I understand the current test model correctly, the seperation also has the advantage that if the test dies, the parser is largely unaffected. It even tells you *where* it died (e.g. after test #7). If you have test/parser in one

Re: Whither the perl-qa wiki ?

2005-01-31 Thread Michael G Schwern
On Mon, Jan 31, 2005 at 02:51:22PM +, Adrian Howard wrote: I've just noticed that the perl-qa wiki linked from http://qa.perl.org/ is still toast. Basically I accidentally deleted the CGI program and since it was one of those everything, including the config, in one file things I haven't

Re: Whither the perl-qa wiki ?

2005-01-31 Thread Michael G Schwern
On Mon, Jan 31, 2005 at 04:07:04PM -0500, Michael G Schwern wrote: So I may as well do that now. Done. Let me know if that seems like its the right database, there were several to choose from owing to circumstances.

Re: Phalanxed

2005-02-04 Thread Michael G Schwern
On Thu, Feb 03, 2005 at 10:13:44PM -0500, Jeff Bisbee wrote: This is the boilerplate our group put together to use when contacting authors. ENOATTACHMENT

Re: Test names/comments/whatever?

2005-02-06 Thread Michael G Schwern
On Sat, Feb 05, 2005 at 03:12:20PM -0500, Stevan Little wrote: I sent Schwern a patch to change 'names' to 'description', but then Andy brought up the idea of 'labels'. At the time, Schwern said it was 'in the pipeline', but I expect its actually been moved out since. If its not in the RT

Re: Test names/comments/whatever?

2005-02-06 Thread Michael G Schwern
On Sat, Feb 05, 2005 at 04:47:55PM -0800, chromatic wrote: Let me second that one! Of course, Andy's already made it clear that he doesn't have a lot of time, but I still don't mind kicking 'im. :) I think the right approach is to patch T::H::S to collect diagnostic information and make

Re: Test names/comments/whatever?

2005-02-06 Thread Michael G Schwern
On Sat, Feb 05, 2005 at 06:59:26PM -0500, Ian Langworth wrote: 'comment', however, seems just right -- it implies a short, optional description. I like comment, too. It already has a meaning in Perl (and every other language) and its just the same. So as of right now, that's official.

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

2005-02-07 Thread Michael G Schwern
On Mon, Feb 07, 2005 at 03:03:29PM +, Adrian Howard wrote: Test::Unit, as mentioned by Curtis, has been abandoned. Has it? I thought that the folk on [EMAIL PROTECTED] had taken it on ? http://groups.yahoo.com/group/PerlUnit/ shows some activity on the mailing list. Its members-only so

Re: Test names/comments/whatever?

2005-02-10 Thread Michael G Schwern
On Thu, Feb 10, 2005 at 01:56:50PM -0800, chromatic wrote: On Thu, 2005-02-10 at 16:46 -0500, Michael G Schwern wrote: Trouble is STDOUT is parsed while STDERR is not so T::H has to be able to disambiguate them while still displaying them in the correct ordering and not run afoul of any

Re: Test names/comments/whatever?

2005-02-10 Thread Michael G Schwern
On Thu, Feb 10, 2005 at 02:49:55PM -0800, chromatic wrote: It's a patch to Test::Harness::Straps, the documentation of which disclaims backwards compatibility. I'd like it to work on Windows so as to avoid people complaining if it doesn't, but I'm just saying that 1) I don't feel any

Re: Test names/comments/whatever?

2005-02-10 Thread Michael G Schwern
On Thu, Feb 10, 2005 at 03:02:03PM -0800, Ovid wrote: I have no problem with this. Is anyone even using THS? Yes. Everyone who uses Test::Harness.

Re: Testing What Was Printed

2005-02-11 Thread Michael G Schwern
On Fri, Feb 11, 2005 at 07:30:24AM -0500, David Golden wrote: Very nice integration of IO::Capture. I think this is very promising, but all the start(), stop() calls seem overly repetitive to me. What about refactoring it into a set of test functions that handle it for the user

Re: TAP Version (was: RE: Test comments)

2005-02-18 Thread Michael G Schwern
On Fri, Feb 18, 2005 at 01:41:17PM +, Mark Stosberg wrote: Err, why? Who else is emitting a version string? Or anything? Do we start prefixing everything else with TAP? I have intentionally put version strings in the output, especially of of related modules. For example, DBD::Pg

Re: Foreign modules in test scripts?

2005-02-20 Thread Michael G Schwern
On Sun, Feb 20, 2005 at 02:12:26AM +0100, Steffen Schwigon wrote: Is it ok for a CPAN module to use other modules from CPAN only for the test scripts (e.g. Text::Diff)? Up to you. The way I look at it, if you have one dependency it doesn't hurt to have another. Either they're using a CPAN

Re: TAP docs

2005-02-21 Thread Michael G Schwern
On Sun, Feb 20, 2005 at 10:19:09AM +0100, Johan Vromans wrote: http://www.petdance.com/random/tap.html Everyone: I still need more comments. Pete Krawczyk's the only one to provide complaints yet. There's no discussion of the exit code of the test process. Acknowledgements should

Re: Foreign modules in test scripts?

2005-02-21 Thread Michael G Schwern
On Mon, Feb 21, 2005 at 09:34:24AM +, David Cantrell wrote: The practice of bundling third-party modules with yours is IMO very wrong indeed. If I bundle (eg) Test::Frobnitz, and a hundred other people bundle Test::Frobnitz, then this leads to two problems: 1. when the author of

Re: TAP docs

2005-02-21 Thread Michael G Schwern
On Mon, Feb 21, 2005 at 12:29:59PM -, Clayton, Nik wrote: Perhaps a gammar (or just a regex) that describes a fully conforming test line would be helpful. Some comments about POSIX (non-)conformance might be useful, see the DejaGnu docs for examples;

Re: TAP docs

2005-02-21 Thread Michael G Schwern
On Mon, Feb 21, 2005 at 02:42:49PM -, Clayton, Nik wrote: T::H specific, not relevant to TAP. As T::H is the only complete implementation of TAP and thus is something of a working reference, it is quite relevant to note where it strays from the ideal.

Re: Test comments

2005-02-22 Thread Michael G Schwern
On Tue, Feb 22, 2005 at 03:40:55PM -0500, Peter Kay wrote: Chromatic wrote: 1) an optional description of a test, which occurs after the test number but precedes an optional '#' character and anything following until the newline character, having no effect on parsing Summary? Summary

Phalanxing MakeMaker

2005-02-24 Thread Michael G Schwern
For any brave Phalanx folks who wish to target MakeMaker I can point you at some critically deficient areas of its testing. 1) XS. There is absolutely no testing of XS code. The primary problem is determining if the user has a working build chain. I think Module::Build has code to do this

Re: TAP and STDERR

2005-02-24 Thread Michael G Schwern
On Wed, Feb 23, 2005 at 06:42:57PM -0800, chromatic wrote: The TAP documentation in 2.47_01 says: A harness must only read TAP output from standard output and not from standard error. The way Test::Builder works, diagnostics always go to STDERR. Is there a reason for this beyond

Re: TAP and STDERR

2005-02-24 Thread Michael G Schwern
On Wed, Feb 23, 2005 at 08:05:13PM -0800, David Wheeler wrote: The way Test::Builder works, diagnostics always go to STDERR. Is there a reason for this beyond It's tricky to correlate diagnostics to the appropriate test numbers? (I agree with that, but I'm willing to take my chances on

<    1   2   3   4   5   6   7   8   9   10   >