Barbie wrote:
On Sat, Jul 05, 2008 at 08:31:07AM -0400, James E Keenan wrote:
Funny you should mention that. I've been slowly working through the
rewrite of YACSmoke. One of the aspects that I've been thinking
about is
having CPAN Testers run the often disputed "pod.t" and "podcover.t"
type
On Sat, Jul 05, 2008 at 08:31:07AM -0400, James E Keenan wrote:
>
> >Funny you should mention that. I've been slowly working through the
> >rewrite of YACSmoke. One of the aspects that I've been thinking
> >about is
> >having CPAN Testers run the often disputed "pod.t" and "podcover.t"
> >type
On Jul 5, 2008, at 7:58 AM, Barbie wrote:
On Fri, Jul 04, 2008 at 10:02:24PM -0400, James E Keenan wrote:
David Cantrell wrote:
On Tue, Jun 17, 2008 at 09:40:02PM -0400, David Golden wrote:
There also seem to be some things in ~/tmp/
That's on linux. It's worse on Win32. Lots of stuff win
On Fri, Jul 04, 2008 at 10:02:24PM -0400, James E Keenan wrote:
> David Cantrell wrote:
> >On Tue, Jun 17, 2008 at 09:40:02PM -0400, David Golden wrote:
> >
> >>There also seem to be some things in ~/tmp/
> >>That's on linux. It's worse on Win32. Lots of stuff winds up dumped
> >>in c:\. In one
imacat wrote:
In my test script I create a temporarily directory as the home
directory and set the HOME environemnt variable to it. After the tests
are finished that directory is removed with File::Path::rmtree() and the
HOME environment variable is restored.
A very good suggestion -- an
David Golden wrote:
So I keep noticing "litter" in my home directory while running the
smoker. It looks like either temp files or default locations for
things. I consider that bad behavior for tests.
I have been guilty of that *in the past*.
During my rewrite of ExtUtils::ModuleMaker in Jul
David Cantrell wrote:
On Tue, Jun 17, 2008 at 09:40:02PM -0400, David Golden wrote:
There also seem to be some things in ~/tmp/
That's on linux. It's worse on Win32. Lots of stuff winds up dumped
in c:\. In one case, I think there were several thousand tiny
directories.
On *nix I periodica
David Cantrell wrote:
There also seem to be some things in ~/tmp/
That's on linux. It's worse on Win32. Lots of stuff winds up dumped
in c:\. In one case, I think there were several thousand tiny
directories.
On *nix I periodically clean out several hundred files from /tmp.
I assume that t
On Tue, 17 Jun 2008 21:22:50 -0400
"David Golden" <[EMAIL PROTECTED]> wrote:
> I'm considering making my home directory read-only and then smoking
> all of CPAN again to see what fails its tests.
In my test script I create a temporarily directory as the home
directory and set the HOME environe
On Wed, Jun 18, 2008 at 9:34 AM, David Cantrell <[EMAIL PROTECTED]> wrote:
> FWIW, instead of mocking File::HomeDir, my approach would be to wrap all
> uses of it in a tiny function:
>
> sub _gethomedir { return File::HomeDir->my_home(); }
>
> and then when testing my module that uses it, do this
On Wed, Jun 18, 2008 at 06:53:30AM -0400, David Golden wrote:
> My "standard" approach is to have a test setup routine that (a)
> creates a temp directory and (b) mocks File::HomeDir to make sure that
> all it's methods return the temp directory. The only real "trick" is
> making sure that $INC{F
On Wed, Jun 18, 2008 at 9:11 AM, David Cantrell <[EMAIL PROTECTED]> wrote:
> On *nix I periodically clean out several hundred files from /tmp.
> I assume that they're created by File::Temp.
Or just created by hand and ignored.
David
On Tue, Jun 17, 2008 at 09:40:02PM -0400, David Golden wrote:
> There also seem to be some things in ~/tmp/
> That's on linux. It's worse on Win32. Lots of stuff winds up dumped
> in c:\. In one case, I think there were several thousand tiny
> directories.
On *nix I periodically clean out seve
On Wed, Jun 18, 2008 at 12:08:46PM +0300, Serguei Trouchelle wrote:
> David Golden wrote:
>
> >So I keep noticing "litter" in my home directory while running the
> >smoker. It looks like either temp files or default locations for
> >things. I consider that bad behavior for tests.
> >
> >I'm cons
On Wed, Jun 18, 2008 at 1:01 AM, Andreas J. Koenig
<[EMAIL PROTECTED]> wrote:
>> On Tue, 17 Jun 2008 23:23:00 -0400, "David Golden" <[EMAIL PROTECTED]>
>> said:
>
> > Though I will say that from experience, mocking a home directory isn't
> > the easiest to do and always get right.
>
> ad
David Golden wrote:
So I keep noticing "litter" in my home directory while running the
smoker. It looks like either temp files or default locations for
things. I consider that bad behavior for tests.
I'm considering making my home directory read-only and then smoking
all of CPAN again to see
> On Tue, 17 Jun 2008 23:23:00 -0400, "David Golden" <[EMAIL PROTECTED]>
> said:
> Though I will say that from experience, mocking a home directory isn't
> the easiest to do and always get right.
adduser ?
--
andreas
On Tue, Jun 17, 2008 at 10:32 PM, Elliot Shank <[EMAIL PROTECTED]> wrote:
> Please do. Forget "mere" testing, I don't want that happening with modules
> I install for actual use.
Well, some default to that. Or at least to creating .foo config files
or directories. But still, I don't think that
David Golden wrote:
So I keep noticing "litter" in my home directory while running the
smoker. It looks like either temp files or default locations for
things. I consider that bad behavior for tests.
I'm considering making my home directory read-only and then smoking
all of CPAN again to see w
On Tue, Jun 17, 2008 at 9:32 PM, Andy Armstrong <[EMAIL PROTECTED]> wrote:
> Ah yes - in that case I agree. Out of interest what kind of stuff are
> people dumping there?
* "mail-audit.log" -- that appears to be from Mail::Audit.
* "abc" -- containing the string "hello"
* "cookies.txt" -- contai
On 18 Jun 2008, at 02:28, David Golden wrote:
On Tue, Jun 17, 2008 at 9:26 PM, Andy Armstrong <[EMAIL PROTECTED]>
wrote:
How about a user who's home directory is a unionfs mount with the
basic file
structure R/O and a disposable R/W layer on top of it?
s/who's/whose/
It's not the clutter
On Tue, Jun 17, 2008 at 9:26 PM, Andy Armstrong <[EMAIL PROTECTED]> wrote:
> How about a user who's home directory is a unionfs mount with the basic file
> structure R/O and a disposable R/W layer on top of it?
It's not the clutter that concerns me -- it's that I don't think
testers should be writ
On 18 Jun 2008, at 02:22, David Golden wrote:
So I keep noticing "litter" in my home directory while running the
smoker. It looks like either temp files or default locations for
things. I consider that bad behavior for tests.
I'm considering making my home directory read-only and then smoking
So I keep noticing "litter" in my home directory while running the
smoker. It looks like either temp files or default locations for
things. I consider that bad behavior for tests.
I'm considering making my home directory read-only and then smoking
all of CPAN again to see what fails its tests.
24 matches
Mail list logo