Re: Running perl from a test on Windows

[email protected] (Buddy Burden)
Newsgroups perl.qa
Message-ID <CAL0mxoShmUnniyc2nZ2O+45qqekD27cODCWVZFoa33MoTSY9SQ@mail.gmail.com>
Daniel,

>> "I need to collect the output from the other Perl library *without
>> loading it*, because I also want to make sure that my library loads it
>> for me"

> Is there a reason the output has to be created during testing rather
> than being part of the distribution?

But that means I'm dependent on a particular version of that library.
More specifically, if the version I have when I _create_ the distro
isn't the same as the version that someone has when they _install_ the
distro, and if the output has changed at all (even a single
character), then my test fails.  And, the longer my distro hangs
around, the more likely that is to happen, eventually.

> What about running it out in a .t
> file which precedes the .t file in question?

The problem there is that my tests then become order-dependent, which
breaks parallelization, which many people (including, ANAICT, most
CPAN Testers smokers) turn on.  I know *I* do, when I'm testing. ;->


            -- Buddy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.