Re: ANNOUNCE Test::More/Simple/Builder 0.82

2008-10-16 Thread Steve Peters
anks to Hans Dieter Pearcey [confound] for fixing the above) >- die if no_plan is given an argument[rt.cpan.org > 27429] > After upgrading bleadperl to T-S-0.82, we get test failures in lib/constant.t. It appears that a new warning is generated by Test::Builder

Re: ANNOUNCE Test::More/Simple/Builder 0.82

2008-10-16 Thread Steve Peters
On Wed, Oct 15, 2008 at 1:43 PM, Steve Peters <[EMAIL PROTECTED]> wrote: > On Tue, Oct 14, 2008 at 10:15 PM, Michael G Schwern <[EMAIL PROTECTED]> wrote: >> http://schwern.org/src/Test-Simple-0.82.tar.gz >> or coming soon on CPAN. >> >> Please report bugs vi

Re: best practices for temporary files during testing

2008-06-22 Thread Steve Peters
es I've had to make within the Perl core, I'd suggest just going with File::Temp. It will probably do everything you want to do. But, then again, I'm not a huge fan of installing additional modules just for testing. Steve Peters [EMAIL PROTECTED]

Re: [ANNOUNCE] Test::Builder/More/Simple 0.71

2007-09-19 Thread Steve Peters
Magic p5p fairies usually take care of that. > I hope that isn't a title that sticks. Bleadperl is updated to Test-Simple-0.71 with change #31907. Steve Peters [EMAIL PROTECTED]

Re: Bug fix in Test::More 0.71 may reveal failures tests

2007-09-19 Thread Steve Peters
f your code does the above, it won't work > anymore. > > This has already effected two modules, and one of them is DBI. > Another is Cache::FastMmap. Steve Peters [EMAIL PROTECTED]

Re: CPAN testers generates Makefile.PL without prerequisites

2007-05-20 Thread Steve Peters
::Build installed, and that CPAN is setup to look for only a Makefile.PL. Any other assumptions on a CPAN author's part is simply asking for problems. Steve Peters [EMAIL PROTECTED]

Re: [ANNOUNCE] Test::More/Simple/Builder 0.68

2007-03-14 Thread Steve Peters
installed as it depended on all_modules being exported. > [rt.cpan.org 24483] I've just updated bleadperl to the Test-Simple-0.68 and ran into problems. The problem is that there is a hard-coded path that has been added to t/fail-more.t. Fortunately, it doesn't seem to cau

Re: TAP for skipping all tests

2007-01-24 Thread Steve Peters
;1..0' syntax or is that merely a convention? > My guess is that the number of test run may depend on things determined after the point you decided to skip all the tests. Steve Peters [EMAIL PROTECTED]

Re: Test::Harness 3.0

2007-01-20 Thread Steve Peters
uld certainly be something easy to accomplish. If everything looks OK from the smokes, I don't see any reason why we wouldn't make the switch. Steve Peters [EMAIL PROTECTED]

Re: Using pip to get testing done better and faster...

2007-01-09 Thread Steve Peters
On Tue, Jan 09, 2007 at 02:30:56PM +, David Cantrell wrote: > Steve Peters wrote: > >>>And what is CPM? :) > >Think pre-Commodore 64 Commodore. Actually, you could get CP/M for the > >Commodore 64, but I don't know of anyone who ever did. > > Nothing t

Re: IPC::Open3 failure on Windows

2007-01-09 Thread Steve Peters
w years ago http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-porters/1319438 Enjoy! Steve Peters [EMAIL PROTECTED]

Re: Using pip to get testing done better and faster...

2007-01-09 Thread Steve Peters
> even if anyone is still using CP/M, I doubt they're going to be > installing even six year old software. > Installing Perl on a 25+ year old might be a nice upgrade...if the hardware could handle it. ;) Steve Peters [EMAIL PROTECTED]

Re: [ANNOUNCE] Test::More/Simple/Builder 0.65

2006-11-10 Thread Steve Peters
On Fri, Nov 10, 2006 at 10:32:18AM -0600, Michael G Schwern wrote: > http://pobox.com/~schwern/src/Test-Simple-0.65.tar.gz > or > a CPAN near you! > ...and in a bleadperl near you with change #29244. Steve Peters [EMAIL PROTECTED]

Re: CPAN::Shell->install() downloads dependencies, but doesn't add them to @INC for tests

2006-11-08 Thread Steve Peters
that not > the default MyConfig.pm is used, but a custom one. Not sure if that > makes any difference... > Modules are loaded at compile time, so you probably need to move the CPAN::Shell->install() call to inside a BEGIN block. Steve Peters [EMAIL PROTECTED]

Re: A short rant on the purpose of the CPAN install chain.

2006-09-16 Thread Steve Peters
tocol and would have the possiblity of effected many unsuspecting developers and users. Steve Peters [EMAIL PROTECTED]

Re: [ANNOUNCE] Test::Builder/More/Simple 0.64 (Emergency release)

2006-07-16 Thread Steve Peters
leadperl has been upgraded to Test-Simple-0.64 with change #28586. Thanks, Steve Peters [EMAIL PROTECTED]

Re: TAP::Harness

2006-07-01 Thread Steve Peters
ar ground rules, though. Steve Peters [EMAIL PROTECTED]

Re: Unintended consequences

2006-05-22 Thread Steve Peters
; as my anti-CPANTs example. Steve Peters [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: Smoke [5.9.4] 27938 FAIL(X) linux 2.6.15-20-386 [debian] (i686/1 cpu)

2006-04-23 Thread Steve Peters
ether this is OK or not. Should TEST care if the tests are reported out of order? Steve Peters [EMAIL PROTECTED]

Re: TODO tests and test::harness

2006-04-20 Thread Steve Peters
On Thu, Apr 20, 2006 at 10:36:08PM +0200, demerphq wrote: > On 4/20/06, Steve Peters <[EMAIL PROTECTED]> wrote: > > Maybe I'm thinking too hard, or maybe the results reported aren't > > exactly as clear as they probably should be. Here's an example test and

Re: TODO tests and test::harness

2006-04-20 Thread Steve Peters
ts, not those that unexpectedly succeeded, which confused me a bit. Also, the final results show that one test passed, but then the list of passed is "1-2" instead of just "2" which is the unexpected success. Is there a way to have the list of passed just show the unexpected successes? Steve Peters [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: TODO tests

2006-04-18 Thread Steve Peters
s year. Of course, writing new test cases for new tickets as they come in would help this task immensely. In the long term, however, it would be great if Test::Harness recognized individual TODO test cases that passed and reported on them. Maybe this would be worthy of a Summer of Code project, or it m

Re: Activestate and Scalar-List-Utils

2006-03-14 Thread Steve Peters
s an exported function. This was changed with Perl 5.8.8. Once ActiveState releases a Perl 5.8.8, they should be able to upgrade the version of Scalar-List-Utils that they distribute. Steve Peters [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: New kwalitee metric - eg/ directory

2006-03-14 Thread Steve Peters
e the kwalitee test to fail. ;) I do think its a good idea, especially with large, all-encompassing type modules to provide some examples, but testing for (in effect, regulating) the name of the directory that will be difficult to do. Steve Peters [EMAIL PROTECTED] signature.asc Description: Digital signature

Re: MAKE SCHWERN PAY!

2006-02-22 Thread Steve Peters
On Tue, Feb 21, 2006 at 01:46:23PM -0800, Michael G Schwern wrote: > On 2/20/06, Steve Peters <[EMAIL PROTECTED]> wrote: > > > Remeber you are helping a good cause by getting and extra $500 to the > > Perl Foundation, but you're also helping to tear Schwern away from

MAKE SCHWERN PAY!]

2006-02-21 Thread Steve Peters
know. This helps to make the case that reasonable testing has been completed. Remeber you are helping a good cause by getting and extra $500 to the Perl Foundation, but you're also helping to tear Schwern away from Worlds of Warcraft for a few minutes to write the check. Thanks in advance,

Re: Devel::Cover not DWIMming on upgraded Perl -- but problem solved

2005-11-02 Thread Steve Peters
Devel::Cover from CPAN and > installed it manually. (I did call 'make install UNINSTALL=1'.) This > solved the problem. The message described above went away, and 'cover' > reported only the results for the module under development. > I don't know if that is in the documentation for Devel::Cover or not, but an upgrade in Perl usually requires and reinstall of Devel::Cover. Steve Peters [EMAIL PROTECTED]

Re: [ANNOUNCE] Test::Simple/More/Builder 0.62

2005-10-09 Thread Steve Peters
On Sun, Oct 09, 2005 at 11:12:59AM -0700, Michael G Schwern wrote: > On Sun, Oct 09, 2005 at 11:34:50AM -0500, Steve Peters wrote: > > I've just added this to bleadperl. > > With or without Test::Builder::Tester? > So I don't continue the breakage, with Test::Buil

Re: [ANNOUNCE] Test::Simple/More/Builder 0.62

2005-10-09 Thread Steve Peters
On Sat, Oct 08, 2005 at 01:38:06AM -0700, Michael G Schwern wrote: > http://www.pobox.com/~schwern/src/Test-Simple-0.62.tar.gz > or > http://svn.schwern.org/svn/CPAN/Test-Simple/trunk > or > a CPAN near you. > I've just added this to bleadperl. Thanks, Steve Peters [EMAIL PROTECTED]

Re: Test::Kwalitee - Where is it hosted?

2005-10-04 Thread Steve Peters
itee checks on your code > > Download and install Test::Kwalitee. Then add the following code to > your t/ directory as kwalitee.t: > > #!perl > > eval { require Test::Kwalitee }; > exit if $@; > Test::Kwalitee->import( ); > > That's from section 4.9 Validating Kwalitee. > Looking at http://use.perl.org/~chromatic/journal/25127 (I love Google), its still waiting to go to CPAN. Steve Peters [EMAIL PROTECTED]

Re: Test::Harness Extension/Replacement with Color Hilighting

2005-09-16 Thread Steve Peters
a lot more easy than trying to write your own harness. Since its already included with recent Perls, that seems to make more sense than writing your own incompatible testing harness. Steve Peters [EMAIL PROTECTED]

Re: [ANNOUNCE] Test::Symlink

2005-07-06 Thread Steve Peters
ction that doesn't force me to think about the syntax of the test function and let me focus on writing test cases to match the documentation. P.S. See http://use.perl.org/~TorgoX/journal/24654 for the most recent incarnation of lns. Steve Peters [EMAIL PROTECTED]

Re: prove with Devel::Cover example?

2005-06-03 Thread Steve Peters
> but didn't cover the scripts that ran. > > Mark > prove is just a cover over Test::Harness, so (if I remember correctly) HARNESS_PERL_SWITCHES=-MDevel::Cover prove ... should work. Steve Peters [EMAIL PROTECTED]

Re: DBD-mysql coverage == 56% - am I on drugs ??

2005-05-13 Thread Steve Peters
ally write something up about this since I've used it to determine Perl's test coverage. Steve Peters [EMAIL PROTECTED]

Re: Building a module with tests

2005-05-06 Thread Steve Peters
opy of Perl Testing > > Developer's Notebook as soon as it comes out. > > > > xoxo, > > Andy > > > > : ) > > Seems it is not available as a PPM for ActiveStates Perl distro. > Looking at http://ppm.activestate.com/BuildStatus/5.8-M.html, the Module-Starter distribution is available for the ActiveState 5.8.x Perls. Steve Peters [EMAIL PROTECTED]

Re: Test::Tutorial needs updated

2005-04-26 Thread Steve Peters
secondary problems > resulting from it having been written almost four years ago. > > So if anyone's feeling enthused, have at it. > Having at it, with input, I'm assuming from here. :) Steve Peters [EMAIL PROTECTED]

Re: Testing for NULL return values in test scripts

2005-04-12 Thread Steve Peters
Test::Simple tests => 1; my $val = some_func(); ok(! defined $val, "undef returned"); This should work just fine for what you are testing. Steve Peters [EMAIL PROTECTED]

Re: Whither the perl-qa wiki ?

2005-02-02 Thread Steve Peters
at seems like its the right database, there > >were > >several to choose from owing to circumstances. > > Fantastic - I'll go have a poke around. > > Thanks, > > Adrian > And it appears to be mostly intact from how I remembered it a year or so ago. Steve Peters

Re: Devel::Cover error from Storable

2004-12-09 Thread Steve Peters
y proprietary > :-( > > Generally, this means the files you are reading in were created with a different version of Storable. Have you upgraded recently? Are you testing with multiple versions of Storable (or Perl) and using the same cover_db directory? Steve Peters [EMAIL PROTECTED]

Re: Test labels

2004-12-07 Thread Steve Peters
;comment" implies "not really worth doing", and I > still don't like "name" because it implies (to me) a unique identifier. > We also talked about "description", but "description" is just s > overloaded. > > Thoughts? Label sounds fine to me Steve Peters [EMAIL PROTECTED]

Re: Name needed for Test.pm compatibility module

2004-11-30 Thread Steve Peters
working title is Test::Legacy. > Test::Compat and Test::Classic have also been suggested. > > Thoughts? > I like Test::Compat. Test::Legacy makes me think more of the current Test.pm rather than of a new module. Steve Peters [EMAIL PROTECTED]

[perl #24853] Test::Builder's diag function is mistakely adding #'s (or not adding newlines)

2004-10-26 Thread Steve Peters via RT
> [EMAIL PROTECTED] - Thu Jan 08 05:18:53 2004]: > >$Test->diag(1,2,3,4); > > yields "# 1# 2# 3# 4" which is not right. > It seems like the intent was for each argument to be a line, > so it should yield something like: > > # 1 > # 2 > # 3 > # 4 > > The fix is t

Re: [ANNOUNCE] Test::Simple 0.49

2004-10-18 Thread Steve Peters
e 'ALL::YOUR::BASE::ARE::BELONG::TO::US:: # Error: Can't locate ALL.* in [EMAIL PROTECTED] .* This bug has been reported in RT at http://rt.cpan.org/NoAuth/Bug.html?id=8022 Thanks, Steve Peters

Re: Redoing the Phalanx 100

2004-08-08 Thread Steve Peters
submit to me, I'd love to have 'em. > > Please make the list available in a computer-readable format. A module > on CPAN, perhaps. > > Leon I've got Bundle::Phalanx100 out there right now. Once the list is updated, I can get the module updated. Steve Peters [EMAIL PROTECTED]

Re: Smoking CPAN

2004-02-10 Thread Steve Peters
elated to a date issue where the test worked fine where the author lived, but would fail in other locales. This has been fixed in the newest release. I haven't looked into the Net::Daemon problems yet, but they were also occuring on OS X and Linux. Steve Peters [EMAIL PROTECTED]