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
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
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]
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]
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]
::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]
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
;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]
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]
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
w years ago
http://aspn.activestate.com/ASPN/Mail/Message/perl-win32-porters/1319438
Enjoy!
Steve Peters
[EMAIL PROTECTED]
> 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]
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]
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]
tocol and would have the
possiblity of effected many unsuspecting developers and users.
Steve Peters
[EMAIL PROTECTED]
leadperl has been upgraded to Test-Simple-0.64 with change #28586.
Thanks,
Steve Peters
[EMAIL PROTECTED]
ar ground rules, though.
Steve Peters
[EMAIL PROTECTED]
; as my anti-CPANTs
example.
Steve Peters
[EMAIL PROTECTED]
signature.asc
Description: Digital signature
ether this is OK or not. Should TEST
care if the tests are reported out of order?
Steve Peters
[EMAIL PROTECTED]
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
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
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
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
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
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
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,
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]
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
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]
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]
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]
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]
> 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]
ally write something up about this since I've used it to determine Perl's
test coverage.
Steve Peters
[EMAIL PROTECTED]
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]
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]
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]
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
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]
;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]
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]
> [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
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
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]
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]
45 matches
Mail list logo