Andy,
I have written a patch to approach the TODO item of "prove":
Shuffled tests must be recreatable
"prove" still works the same, but with extra options to control
--shuffle option.
prove --shuffle t # runs shuffled 't/*.t' scripts (as usual)
prove --shuffle --seed=808208 t # shu
I have forgotten to say that the patch is over the source code of
"bin/prove" in "Test-Harness-2.53_01.tar.gz".
Adriano.
On Mon, Jul 25, 2005 at 06:10:38PM -0300, Adriano Ferreira wrote:
> I have written a patch to approach the TODO item of "prove":
>
> Shuffled tests must be recreatable
>
> "prove" still works the same, but with extra options to control
> --shuffle option.
>
> prove --shuffle t # runs s
On 7/25/05, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> > prove --shuffle --list=5,4,0,1,2,3 t # the shuffle list is predetermined
>
> I'm not sure I see the utility in that last one that significantly beats
> out just reordering the arguments to prove. Do you have a use case? And
> what ha
On Tue, Jul 26, 2005 at 08:51:01AM -0300, Adriano Ferreira ([EMAIL PROTECTED])
wrote:
> The whole point of this option is to allow the reproduction of a
> certain order even in a Perl that was not compiled with the same
This option has to be able to handle the case of a set of 1000 tests,
all ran
On Tue, Jul 26, 2005 at 08:51:01AM -0300, Adriano Ferreira wrote:
> Instead of giving the seed for shuffling, the list can be predetermined
> with the C argument.
>
> $ prove -b -D -d -s --list=1,2,0,3,4 0 1 2 3 4
>
> will run the same sequence everywhere, without concern for
> differences betw
On 7/26/05, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> Yeah, that's exactly what I was worried about. Why not just write:
> prove -b -D -d 1 2 0 3 4
> this even avoids having to write special code to handle Andy's worry about
> large lists of arguments.
I see your point and agree. Pro
Here is another patch. No --list anymore. Just --seed. There is also a
new test script "t/prove-shuffle.t". It touches the MANIFEST and
tweaks "t/prove-globbing.t" which depends on distribution files
matching "t/prove*.t".
Adriano.
prove-patch
Description: Binary data
On 7/26/05, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 26, 2005 at 08:51:01AM -0300, Adriano Ferreira wrote:
> > Instead of giving the seed for shuffling, the list can be predetermined
> > with the C argument.
> >
> > $ prove -b -D -d -s --list=1,2,0,3,4 0 1 2 3 4
> >
> > will run
On Wed, Jul 27, 2005 at 05:51:25PM -0400, demerphq wrote:
> > prove is a command line utility. Use the command line.
>
> Whose command line? Mine doesnt by default come with xargs.
>
> IE, put the logic into prove, and dont assume the user is running on
> your favorite *nix flavour.
xargs is a
demerphq wrote:
Whose command line? Mine doesnt by default come with xargs.
I expect it didn't come with perl either, yet you seem to have managed
to install that yourself.
--
David Cantrell
11 matches
Mail list logo