Re: [ANNOUNCE] Devel::Cover 0.15

2002-09-06 Thread Tatsuhiko Miyagawa
nating plan to integrate this great module with Test::Builder and/or MakeMaker into Test::Coverage or something like that? -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

[PATCH] Test::Builder holds object inside

2002-08-22 Thread Tatsuhiko Miyagawa
Here's a patch for Test::(Simple|More) to allow idioms like my $obj = Foo->new; ok($obj, 'object is defined'); Without this patch, passed $obj was referenced in Test::Builder, so REFCNT doesn't come to 0 before global cleanup. -- Tatsuhiko Miyagawa <[EMAIL PR

[PATCH] Test::Harness defaults switches to ''

2002-08-22 Thread Tatsuhiko Miyagawa
current Test::Harness sets switches to '', not '-w' as documented. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]> --- lib/Test/Harness/Straps.pm~ Thu Jun 20 06:01:04 2002 +++ lib/Test/Harness/Straps.pm Thu Aug 22 21:27:27 2002 @@ -322,7 +322,7 @@ local *TEST;

Re: Test::MockObject 0.03

2002-04-28 Thread Tatsuhiko Miyagawa
I'; my $app = WebApp->new($q); $app->run; It's not so irresistable to me. And doing so gives me a flexibility. Well I believe you'll convert me with your future article (on perl.com?) ;) Here's a patch * pass tests in 5.005_03 * can() should return subref instead of ju

[PATCH] use_ok() with pragmas in 5.005_03

2002-04-22 Thread Tatsuhiko Miyagawa
ke, the same thing applies with your mixin.pm -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]> diff -ruN Test-Simple-0.43/lib/Test/More.pm Test-Simple-0.43.new/lib/Test/More.pm --- Test-Simple-0.43/lib/Test/More.pm Thu Apr 11 12:27:47 2002 +++ Test-Simple-0.43.new/lib/Test/More.pm Tue Apr 23 0

Re: Alternative code review ideas?

2002-01-29 Thread Tatsuhiko Miyagawa
use HTTP::TestEngine / RoboWeb or something like that to reduce my work. But I've not given a shot to 'em. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Re: v0.3 [Was: CPAN Upload: R/RB/RBS/Test-Differences-0.2.tar.gz]

2001-12-16 Thread Tatsuhiko Miyagawa
Win32 system that it's > nonfuncitonal on; haven't debugged it yet). I think Test::Differences is mainly for module developpers, not for module users, thus the necessity for Test::Differences would be better optional in distributing modules. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Re: v0.3 [Was: CPAN Upload: R/RB/RBS/Test-Differences-0.2.tar.gz]

2001-12-15 Thread Tatsuhiko Miyagawa
g my CPAN module I don't like letting go Test::More for it ;) -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Re: v0.3 [Was: CPAN Upload: R/RB/RBS/Test-Differences-0.2.tar.gz]

2001-12-15 Thread Tatsuhiko Miyagawa
t Switching each function line by line, or adding magical C shortcut in the top of script will do. But I wish there's a handy way to do it. Thanks. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Re: CPAN Upload: R/RB/RBS/Test-Differences-0.2.tar.gz

2001-12-13 Thread Tatsuhiko Miyagawa
could probably be replaced, though. However, I > don't see much benefit. IMHO Test::Differences' benefit is its mix-in nature. Changing each is_deeply() to eq_or_diff_data() hand by hand "if not ok" seems a little hassle to me. -- Tatsuhiko Miyagawa Livin' On The EDGE, Co.,Ltd. mailto:[EMAIL PROTECTED] http://www.edge.co.jp/

Re: CPAN Upload: R/RB/RBS/Test-Differences-0.2.tar.gz

2001-12-13 Thread Tatsuhiko Miyagawa
umper $self ; +#use Data::Dumper ; print Dumper $self ; ## Line numbers are one off, gotta bump them push @{$self->{LINES}}, [ -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Excellent article on perl.com

2001-12-05 Thread Tatsuhiko Miyagawa
by chromatic: http://www.perl.com/pub/a/2001/12/04/testing.html -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Test::Simple's very slight side effect

2001-10-11 Thread Tatsuhiko Miyagawa
t::More use()s Carp, thus defines Carp::croak at compile time before loading Bareword::Freaks. Duh. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Re: FAIL Module-InstalledVersion-0.02 cygwin-multi 1.3.2(0.3932)

2001-09-13 Thread Tatsuhiko Miyagawa
On Thu, 13 Sep 2001 19:41:39 -0400 Kirrily 'Skud' Robert <[EMAIL PROTECTED]> wrote: > Anyone know what might cause this? The same reporter also had the same > problem with CPAN-Test-Reporter. His Test::Harness needs upgrade? -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Re: ANNOUNCE Testing SDK

2001-08-29 Thread Tatsuhiko Miyagawa
;s been uploaded to CPAN. > Not quite sure how the CPAN shell's going to deal with it. -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Pod::Tests backward compatibility Patch

2001-08-22 Thread Tatsuhiko Miyagawa
520,7 @@ push @code, <{line} $file $example->{code}; -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

Re: Test::Harness rewrite

2001-08-18 Thread Tatsuhiko Miyagawa
interfere with > people's tests (some tests look at the contents of t/). > > Alternatives welcome. ExtUtils::TBone (which is released as a separate module on CPAN recently) by Eryq seems to have this feature. http://search.cpan.org/search?dist=ExtUtils-TBone -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>

[PATCH] Test::More PREREQ_PM problem

2001-08-14 Thread Tatsuhiko Miyagawa
eq 'skip_all' ) { +if( @args > 0 && $args[0] eq 'skip_all' ) { $Test::Simple::Skip_All = 1; my_print *TESTOUT, "1..0\n"; exit(0); } else { -Test::Simple->import($plan => @args); +Test::Simple->import(@args); } __PACKAGE__->_export_to_level(1, __PACKAGE__); -- Tatsuhiko Miyagawa mailto:[EMAIL PROTECTED]

[PATCH] Test-Simple-0.01 (Re: ANNOUNCE: Test::Simple 0.11)

2001-08-14 Thread Tatsuhiko Miyagawa
mp;& UNIVERSAL::isa($e2, 'HASH'); + } + if( $is_array ) + { $ok = eq_array($e1, $e2); } -elsif( UNIVERSAL::isa($e1, 'HASH') and - UNIVERSAL::isa($e2, 'HASH') ) +elsif( $is_hash ) { $ok = eq_hash($e1, $e2); } -- Tatsuhiko Miyagawa mailto:[EMAIL PROTECTED] http://bulknews.net/lib/