Devel::Cover clobbers $ENV{PWD}, workaround?

2010-09-24 Thread yary
I decided to check out the coverage of a little program and am running into a bump. The code is part of a suite of code which uses the environment to pass options. One of those environment variables happens to be called PWD, and it doesn't hold the present working directory. (It stands for "Period,

Re: Devel::Cover clobbers $ENV{PWD}, workaround?

2010-09-24 Thread yary
I already have a workaround- my test script now begins with $ENV{PWD}=$ENV{PerWkDay} or die "Set PerWkDay=%PWD% before running tests\n"; Basically, setting PWD back to what it needs to be. It's a hack but it gets me started with coverge reports.

Re: Flier about using Perl for Testing

2011-01-17 Thread yary
On Mon, Jan 17, 2011 at 2:55 AM, Shlomi Fish wrote: >> Perl provides a seamless way to interact with all the relational >> databases such as Oracle, MySQL, PostgreSQL, Ingres > > It's "Ingress". Maybe mention MS-SQL, SQLite or Informix No, it really is Ingres with one S, named after a person, not

Re: Vague Testing

2011-02-18 Thread yary
If it's going to go in Test::Deep, could it go in a submodule, named something like like Test::Deep::Fuzzy ? I'm worried that I'll be on an old machine with broken Unicode libraries and won't be able to install a module that depends on Test::Deep. Many modules uses Test::Deep to test themselves, an

Re: Relying more on Mouse

2011-11-21 Thread yary
I'd think Michael has the interests of CPAN smoke testers in mind with these performance benchmarks. You're right in that for the typical developer, it's not significant. -y

Re: TPF Devel::Cover grant report February 2013

2013-03-07 Thread yary
Thanks for taking the time for tracking down my "bug"- On Thu, Mar 7, 2013 at 5:38 PM, Paul Johnson wrote: > ...$ENV{PWD} on Windows being set within Devel::Cover. > ... I'd appreciate comments on whether or not this is a bug, but if it > is then it should be filed against the perl core. I was

Re: How might we mark a test suite isn't parallalizable?

2013-05-05 Thread yary
I've done some heavy DB work/testing and like your idea of simply turning off autocommit, rolling back for all the database tests. It's not what we did- we just truncated all the test tables to start from a good state, and the only parallel testing we did were specifically designed concurrency test

Re: Why does File::Path not respond to 'cover'?

2015-06-27 Thread yary
I believe that Devel::Cover excludes core modules, so that "your code" isn't influenced by modules that are included (perhaps indirectly). Seek out a switch/hash/regexp/sub to modify that behavior, there is one somewhere! -y On Fri, Jun 26, 2015 at 10:08 PM, James E Keenan wrote: > Richard Elbe