Re: [perl #15479] perl 5.8.0 segfault

2002-08-01 Thread Rafael Garcia-Suarez

Michael G Schwern wrote:
>>I keep forgetting that I need to remember to ask this. Is there a FAQ
>>for regression test writing? Well, an guide to "so I want to write a
>>regression test, explaining how to do it, how perl5's tests are structured
>>to reduce interdependencies, use Test::More; when Test::More is not
>>appropriate.."
> 
> 
> Porting/patching.pod

So we have patching.pod, perlhack.pod (which is also
at http://dev.perl.org/perl5/docs/perlhack.html ),
pumpkin.pod (which has also useful information for
non-pumpkings)...

> About the only thing that's missing is docs for t/test.pl.

I added a short note about the existence of t/test.pl in
t/README recently. Hey, that's another document ;-)




Re: [perl #15479] perl 5.8.0 segfault

2002-08-01 Thread Michael G Schwern

On Wed, Jul 31, 2002 at 12:30:12PM +0100, Nicholas Clark wrote:
> On Wed, Jul 31, 2002 at 01:20:25PM +0200, Rafael Garcia-Suarez wrote:
> > Wasn't there a .t file to run separate perl interpreters
> > and test for core dumps ?

We're dissolving that.  Use fresh_perl_is() and fresh_perl_like() from
t/test.pl and place the test in the appropriate group.  So somewhere with
other filehandle tests.


> I keep forgetting that I need to remember to ask this. Is there a FAQ
> for regression test writing? Well, an guide to "so I want to write a
> regression test, explaining how to do it, how perl5's tests are structured
> to reduce interdependencies, use Test::More; when Test::More is not
> appropriate.."

Porting/patching.pod

About the only thing that's missing is docs for t/test.pl.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
Perl Quality Assurance  <[EMAIL PROTECTED]> Kwalitee Is Job One
We have returned to claim the pyramids.



Re: [perl #15479] perl 5.8.0 segfault

2002-07-31 Thread Robert Spier

>> And where did the p5p FAQ get to?
>MJD said he was taking it off his website... or do you mean the serious one?

Do you mean this?

http://simon-cozens.org/writings/p5p-faq

If someone wants to become a new champion for it, we can keep it on
http://dev.perl.org/perl5.  (Another way to enable that would be to
merge it into the perl5 sources, and then the website can check it out
periodically.)

-R




Re: [perl #15479] perl 5.8.0 segfault

2002-07-31 Thread chromatic

On Wed, 31 Jul 2002 04:30:12 -0700, Nicholas Clark wrote:

> On Wed, Jul 31, 2002 at 01:20:25PM +0200, Rafael Garcia-Suarez wrote:
 
>> Wasn't there a .t file to run separate perl interpreters and test for core
>> dumps ?
 
> I keep forgetting that I need to remember to ask this. Is there a FAQ for
> regression test writing? Well, an guide to "so I want to write a regression
> test, explaining how to do it, how perl5's tests are structured to reduce
> interdependencies, use Test::More; when Test::More is not appropriate.."

Schwern and I talked about this last week.  pod/perltest.pod was a likely
candidate, though Perl QA have been working on Test::FAQ on the Wiki.  There's
also Test::Tutorial.  It's in the core.
 
> And where did the p5p FAQ get to?

MJD said he was taking it off his website... or do you mean the serious one?

No idea.

-- c



Re: [perl #15479] perl 5.8.0 segfault

2002-07-31 Thread Nicholas Clark

On Wed, Jul 31, 2002 at 01:20:25PM +0200, Rafael Garcia-Suarez wrote:

> Wasn't there a .t file to run separate perl interpreters
> and test for core dumps ?

I keep forgetting that I need to remember to ask this. Is there a FAQ
for regression test writing? Well, an guide to "so I want to write a
regression test, explaining how to do it, how perl5's tests are structured
to reduce interdependencies, use Test::More; when Test::More is not
appropriate.."

And where did the p5p FAQ get to?

Nicholas Clark