Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 4533
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] hexten.net
Requestors: andy [...] petdance.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Date: Sun, 30 Nov 2003 12:07:20 -0600
From: Andy Lester <andy [...] petdance.com>
To: bug-test-harness [...] rt.cpan.org
CC: bdfoy [...] cpan.org
Subject: Allow a runfirst parm somehow in Harness
Allow some sort of ordering for the tests to be run. * Let the user specify the list entirely. * Let the user specify the starting order. * Let the user specify the ending order. * Allow randomizing the middle tests. -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
Date: Tue, 2 Dec 2003 22:51:31 -0800
From: Michael G Schwern <schwern [...] pobox.com>
To: Andy Lester via RT <bug-Test-Harness [...] rt.cpan.org>
CC: "AdminCc of cpan Ticket #4533": ;
Subject: Re: [cpan #4533] Allow a runfirst parm somehow in Harness
RT-Send-Cc:
On Sun, Nov 30, 2003 at 01:08:16PM -0500, Andy Lester via RT wrote: Show quoted text
> Allow some sort of ordering for the tests to be run. > > * Let the user specify the list entirely. > > * Let the user specify the starting order. > > * Let the user specify the ending order. > > * Allow randomizing the middle tests.
Why put this into Test::Harness? runtests() just takes a list. Let the user do it. runtests(@files); # user specified list runtests(sort { int(rand 3) -1 } , @files); # random list! -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern/ Stupid am I? Stupid like a fox!
From: Andy Lester <andy [...] petdance.com>
Subject: Re: [cpan #4533] Allow a runfirst parm somehow in Harness
Date: Wed, 3 Dec 2003 07:59:18 -0600
To: bug-Test-Harness [...] rt.cpan.org
RT-Send-Cc:
Show quoted text
> Why put this into Test::Harness? runtests() just takes a list. Let > the > user do it.
Because it might go into prove. xoa -- Andy Lester andy@petdance.com, AIM:petdance http://petdance.com/ http://use.perl.org/~petdance/
Date: Wed, 3 Dec 2003 10:13:27 -0800
From: Michael G Schwern <schwern [...] pobox.com>
To: Andy Lester via RT <bug-Test-Harness [...] rt.cpan.org>
Subject: Re: [cpan #4533] Allow a runfirst parm somehow in Harness
RT-Send-Cc:
On Wed, Dec 03, 2003 at 08:59:28AM -0500, Andy Lester via RT wrote: Show quoted text
> > This message about Test-Harness was sent to you by PETDANCE <andy@petdance.com> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=4533 > >
> > Why put this into Test::Harness? runtests() just takes a list. Let > > the > > user do it.
> > Because it might go into prove.
But prove can just call runtests() with the list ordered how it likes. You don't need any special Test::Harness functionality for that. Maybe the description wasn't clear? Are you putting this in prove or Test::Harness? -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern/ 11. Every old idea will be proposed again with a different name and a different presentation, regardless of whether it works. -- RFC 1925
Seems to be a non-issue.