flag was set and act accordingly. Problem is, I need to unset
that $Todo flag at the end of the block. Can't think of a way to do
that.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
A tickle
talk.
Thursday, 8pm - 9pm
Embedded Testing BOF
Discussion about the talk to come (its the last talk of the conference)
Friday, 4:30pm - 5:15pm
Embedded Testing with Pod::Tests
Same as the talk at YAPC.
If there's more, post them up!
--
Michael G. Schwern [EMAIL PROTECTED]http
for example will never work
- fixed bug with tests at the very end of the file
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Pancakes is the better part of valor.
http
in the example
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
navy ritual:
first caulk the boards of the deck,
then plug up my ass.
-- japhy
I've got 5.004_04, 5.004_05, 5.005_03, 5.6.1 and bleadperl installed
to test against. Should I bother with 5.004? Is anyone *seriously*
using it still?
PS When I say 5.004, I mean the original 5.004 release.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6
( seek(TEST, $sub_start, SEEK_SET) ) ||
print # seek failed with $!\n;
I plan to add a print_comment() function to Test::More eventually, so
everything is nice and escaped.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL
://www.pobox.com/~schwern/src/Test-Simple-0.14.tar.gz
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
I'm spanking my yacht.
it.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
HA HA HA You're all so ridiculous! But thanks for the money!
#!/usr/bin/perl -w
package mod2readme;
require 5;
use strict;
use Pod::Select;
use Getopt
On Wed, Aug 29, 2001 at 07:51:18AM -0400, Barrie Slaymaker wrote:
On Wed, Aug 29, 2001 at 01:51:48AM -0400, Michael G Schwern wrote:
First, the syntax for the code examples has changed. Instead of
=also begin/end example it's =for example begin/end. This doesn't
cause existing POD
On Sun, Sep 02, 2001 at 03:15:29AM +0300, Jarkko Hietaniemi wrote:
@@ -739,3 +783,9 @@
# keep this last - doesn't seem to work otherwise?
This requirement magically went away while I was away?
Oh, I fixed that but forgot to remove the comment.
--
Michael G. Schwern [EMAIL PROTECTED
::InputObjects
Pod::LaTeX
Pod::Man
Pod::ParseUtils
Pod::Parser
Pod::Select
Pod::Text::Color
Pod::Text::Overstrike
Pod::Text::Termcap
Shell
Term::Cap
Term::Complete
Term::ReadLine
blib
filetest
less
open
sigtrap
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality
;
isa_ok( $obj, 'Some::Module' );
where you'd otherwise have to write
my $obj = Some::Module-new;
ok( defined $obj $obj-isa('Some::Module') );
to safeguard against your test script blowing up.
--
Michael G. Schwern [EMAIL PROTECTED
G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
slick and shiny crust
over my hairy anus
constipation sucks
-- Ken Flagg
or plxload to tell
you what modules a script uses.
Oooohhh! I had no idea these existed!
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
The drill instructors
Have their pots of paste in hand
Now
On Tue, Oct 23, 2001 at 10:37:30AM +0800, Autrijus Tang wrote:
On Mon, Oct 22, 2001 at 09:48:56PM -0400, Michael G Schwern wrote:
It then orders them in terms of which needs to be installed first. In
Test::SDK it would be Test::Harness, Test::Simple and finally
Test::Inline.
since
perl and libnet versions?
I understood that as Graham being unsure about using Test::More in the tests.
Oh, we can fix that. Just distribute Test::More with libnet, a la
CGI.pm.
I'll just go summon my Army of Test::More Octopi to assimilate libnet.
--
Michael G. Schwern [EMAIL PROTECTED
on a module in the core it should check that
the module is avaliable, so that the test is skipped with older
perl releases.
But this is a little funny. How are these new tests going to wind up
on old perl and libnet versions?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern
committed to perl along with the usual archives at
http://archive.develooper.com/
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Good tidings, my native American Indian friend! America will soon
well), could you show us
sample emails for the aforementioned perlbug commands? Just to make
sure we've got it right.
Once we have that...
3) Someone who knows mutt/elm/etc can code up a little script to do
the necessary automation.
--
Michael G. Schwern [EMAIL PROTECTED]http
/NDBM_File/ndbm.t
ext/ODBM_File/odbm.t
ext/POSIX/t/posix.t
lib/IPC/Open2.t
lib/IPC/Open3.t
lib/ph.t
lib/File/Temp/t/posix.t (I think this skip is a mistake)
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee
:[]perl. -Ilib op/my_stash.t
%DCL-W-ACTIMAGE, error activating image PERLSHR
-CLI-E-IMGNAME, image file $1$DKB300:[SCHWERN.][BIN.AXP]PERLSHR.EXE;5
-SYSTEM-F-SHRIDMISMAT, ident mismatch with shareable image
or variants thereof.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com
it to CPAN a few months ago, but got scared because of the lack
of tests. There's an alpha still sitting in my CPAN author directory.
Kurt was supposed to give this another whack.
Just forward them to [EMAIL PROTECTED]
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern
On Fri, Sep 28, 2001 at 05:22:16PM +0100, Andrew Wilson wrote:
I've just written a small logging module and I want ot do this
isa_ok($lj, BlackStar::LumberJack, I'm a LumberJack and I'm ok);
This feature is essential ;-)
Reimplementing the chop() function?
--
Michael G. Schwern
. This is the list of stuff
that Must Work and when the time comes for 5.8 release candidates we
can check them all out. (Or you can start early).
Add your modules to the Wiki
http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?EssentialModules
--
Michael G. Schwern [EMAIL PROTECTED]http
. If anyone is seriously interested in
helping out the authors, please contact them. Or better yet, surprise
them with a patch!
Archive::TarStephen Zander [EMAIL PROTECTED]
Archive::ZipNed Konz[EMAIL PROTECTED]
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com
maintaining it and it seems to be humming along ok.
Unless you *do* need the help, in which case just yell right along
side the rest of us.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Let's face
, if someone else
wants to maintain this thing, let me know--they're very troublesome.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
That which stirs me, stirs everything.
-- Squonk Opera, Spoon
to maintain it. :)
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
I have studied Japanese for ten years. I have to admit Japanese people are
very nice and thoughtful.
--Alex Chiu
=('cpp.t');
-@ioexcl=('argv.t','dup.t','pipe.t');
+@ioexcl=('dup.t','pipe.t');
@libexcl=('db-btree.t','db-hash.t','db-recno.t',
'gdbm.t','io_dup.t', 'io_pipe.t', 'io_poll.t', 'io_sel.t',
'io_sock.t', 'io_unix.t',
--
Michael G. Schwern [EMAIL PROTECTED]http
On Wed, Nov 07, 2001 at 01:56:40AM -0500, Michael G Schwern wrote:
On Wed, Nov 07, 2001 at 06:49:58AM +0200, Jarkko Hietaniemi wrote:
My patch(1) doesn't like this at all.
Blarg. Maybe things got twisted with all the little t/test.pl patches
and the ftping back and forth. Lemme try
. You can also use the full suite of core modules in the
+tests.
+
+=back
When you say make test Perl uses the Ft/TEST program to run the
test suite. All tests are run from the Ft/ directory, Bnot the
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality
directory names to form a complete path
ending
[snip]
etc etc.
Shouldn't all these path functions be already somewhere else, f.i. in
File::Spec and shouldn't it use File::Spec, simply? Or am I something
missing?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com
the command to start smoking) for automated periodic
smokes. Eek.
Net::Telnet.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Let's face it, said bearded Rusty Simmons, opening a can after
I just subscribed to perl6-internals yesterday, so I'm trying to catch
up. What's going on with the Parrot tests? It looks like
everything's well in hand without me. I have trained you well. :)
I'll just stand over here and look happy.
--
Michael G. Schwern [EMAIL PROTECTED]http
On Sun, Sep 02, 2001 at 11:56:01AM +0200, Tels wrote:
On 02-Sep-01 Michael G Schwern tried to scribble about:
Okay, part two of the t/op/misc.t cleanup. This one deletes
t/run/segfault.t (redundant) and moves t/op/misc.t to the more
descriptive t/run/kill_perl.t
--- MANIFEST 2001/09
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
I blame myself. AND SATAN.
Net::Netrc
Net::Ping
Net::POP3
Net::Time
open
Pod::Checker
Pod::Find
Pod::Functions (no docs!)
Pod::Html
Pod::InputObjects
Pod::LaTeX
Pod::Man
Pod::ParseUtils
Pod::Select
Pod::Text::*
Pod::Usage
sigtrap
Term::Cap
Term::ReadLine
Tie::Scalar
warnings::register (almost no docs)
--
Michael G. Schwern
spawning a child process
tie STDOUT. Spawning introduces all sorts of nasty cross platform
issues.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
sort God kill 9, @ARGV;
.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Milk is timeless.
tests and see how it goes.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
mendel ScHWeRnsChweRNsChWErN SchweRN SCHWErNSChwERnsCHwERN
sChWErn ScHWeRn schweRn
up a
test that can safely handle core-dumping tests in a cross-platform
manner, why throw it out?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Skrewtape I've heard that semen tastes different
PS When you write these new tests, use Test::More, please.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
...and I pull out the Magnum from under the desk where I keep it in case
someone
to change the number of tests which appears at the top, or
else the automated tester will get confused:
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Well, my work here is done. If you need me
, for example. Or being presented with OO for
the first time. I guess writing test is one of those.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Maybe they hooked you up with one of those ass-making
.
-
-my $reps = 1000; # How many times to try rand each time.
+my $reps = 1; # How many times to try rand each time.
# May be changed, but should be over 500.
# The more the better! (But slower.)
--
Michael G. Schwern [EMAIL PROTECTED
that reflect this.
It truncates integers to ? integers?
Errr, you know what I mean.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Jesus hates me.
http://www.unamerican.com/
/~schwern/src/Test-Harness-2.00_01.tar.gz
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Don't treat people this way! Milk Cheese are indestructible! You are not!
just use RCS. Tag each check-in with info about what
we refactored.
So a refactoring run would go...
Refactor, check-in, refactor, check-in, refactor, check-in, test.
With a simple diffs/refactorings since last good test command.
--
Michael G. Schwern [EMAIL PROTECTED]http
platforms nicely.
I've double-checked with the SourceForge guys, we're clear to use
their machines for smoking Perl.
For more info on SourceForge's compile farm...
http://sourceforge.net/docman/display_doc.php?docid=762group_id=1
--
Michael G. Schwern [EMAIL PROTECTED]http
); # ok
is() uses eq and undef stringifies to ''. is( $foo, undef ) is a nice
idiom, though.
Should is() distinguish between undef, 0 and ''? Seeing as how it
already does between undef and 0 (accidentally), I guess it wouldn't
hurt.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com
+is( ExtUtils::MM_Cygwin::cflags($args), 'fakeflags',
+ 'cflags() should return CFLAGS member data, if set' );
that you can call cflags() and the rest properly as methods.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL
working. I've tried the
QuickiWiki, which mysteriously refuses to write a file larger than
10K, and ClusterWiki, which is giving me fits trying to get it
configured.
If anyone has experience with this sort of thing, set up a perl-qa
Wiki and we can get started.
--
Michael G. Schwern [EMAIL
helps you with the
mechanics of that.
THAT'S SO EASY! If it works for them, it can work for us.
So, I can handle the underlying mechanics no problem. Who's good at
GUIs?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED
.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Death follows me like a wee followey thing.
-- Quakeman
a swing at getting Perl
installed on the OpenVMS Compaq testdrive account? This will at least
allow us to run things on VMS without having to bug you.
I'm posting information about it here:
http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?CompaqTestDrive
--
Michael G. Schwern [EMAIL
a new TTY. #
Since two debuggers fight for the same TTY, input is severely entangled.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Death? Its like being on holiday with a group
main::FILE used only once: possible typo at -e line 1.
Whereas on Unix that would cause a taint error.
I know environment variables are a bit different on VMS than Unix. Is
there any reason you wouldn't want %ENV to be tainted?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com
if
we can fill them in.
If someone would be so kind as to fill in TestTutorial from the latest
version of Test::Tutorial?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
I SEE A RED ASS AND I WANT
recommendations are thin and need fleshing
out. And, of course, if you can think of more possible mistakes, add
them.
http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?CPANTestMistakes
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL
a bit. Half of it is unimplemented.
I also need to merge some fixes from the mainline into 2.00.
I'll see if I can kick out 2.00_02 today.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Schwern
SKIP block.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Only mindless violence can raise my spirits now!
On Fri, Oct 12, 2001 at 11:21:57AM +0900, Tatsuhiko Miyagawa wrote:
It is because Test::More use()s Carp, thus defines Carp::croak at
compile time before loading Bareword::Freaks. Duh.
Ok, Test::More will no longer be using Carp.
--
Michael G. Schwern [EMAIL PROTECTED]http
to
build Perl.
This is the start of one such thread. It seems like the solution is
to turn off all the optimizations.
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2001-04/msg01180.html
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance
local copy of the test and watch
the pretty explosions.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Any sufficiently encapsulated hack is no longer a hack.
On Sun, Nov 25, 2001 at 09:10:32PM -0700, chromatic wrote:
On Sunday 25 November 2001 20:47, Michael G Schwern wrote:
$ENV{'ExtUtils/MM_Unix.pm'} ?? Maybe this supposed to be %INC?
Indeed it is. Never patch while cursing the heavy hand of George Lucas.
Hard to code while beating
On Sun, Nov 25, 2001 at 10:31:15PM -0700, chromatic wrote:
On Sunday 25 November 2001 22:31, Michael G Schwern wrote:
Porta-paranoia. cflags() and canonpath() are delegated to it. This may
be why File::Spec was commingled.
Now wait a second, this means you're not actually testing
the rest of the core modules, perl-debug
is a binary with debugging flags on, perl-suid is suidperl, etc...
perl-modules could probably be cracked up into somewhat finer pieces
if anyone so desired. The number of vigorously maintained core modules
on CPAN is currently pretty low.
--
Michael G
. That's what I assume total_results will
give me when it's implemented.
Nope, total_results is just a hash of file that have been analyzed and
their results.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED
special
case for Parrot::Test into 0.19.
It's on my TODO list to decouple the guts of Test::Simple from the
external functions, so it's easier to write Test modules based on it,
but it's about two or three levels down on the list.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com
a blank
name was a number.
- ok() less draconian about test names
- Added temporary special case for Parrot::Test
- Now requiring File::Spec for our tests.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED
.
However, that's a big job to get right and we'll do it later. Right
now, stick to the cleanups and adding coverage. It also wouldn't hurt
to start going through old open perlbug entries.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL
::ModuleMaker.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
There's so much more to me than my arm.
to collect and summarize build
test reports.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl6 Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Jesus hates me.
http://www.unamerican.com/
the main
distribution gets fixed.
0.05 Fri Nov 23 18:06:22 EST 2001
- Rafael Garcia-Suarez noticed I forgot to deal with code refs in
@INC. The plan is to just skip them until someone notices.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality
Sep 27 22:10:04 EDT 2001
* Added Test::Builder
* Diagnostics are back to using STDERR *unless* it's from a todo
test. Those go to STDOUT.
- Fixed it so nothing is printed if a test is run with a -c flag.
Handy when a test is being deparsed with B::Deparse.
--
Michael G
. :)
http://www.pobox.com/~schwern/cgi-bin/perl-qa-wiki.cgi?TestTutorial
PS I've been neglecting to sync up the CPAN Test::Tutorial with the
Wiki version. Now that Test::Builder is off the ground I can try to
get the turorial and FAQ together.
--
Michael G. Schwern [EMAIL PROTECTED]http
to continue.
Ok, what I think I'll do is make skip() work outside of SKIP blocks.
This will make it trivial for you to write:
skip_rest {
my($reason, $num) = @_;
skip($reason, $num);
exit;
}
in the cases it's necessary.
--
Michael G. Schwern [EMAIL PROTECTED
to flubbed patches should rise rapidly over
time as the Bull gets familiar with the environment. This is why its
important that the part of the Bull be played by someone who is
otherwise experienced.
[1] Add decorum as necessary.
--
Michael G. Schwern [EMAIL PROTECTED]http
first expansion was diagonal rather
than diagnostic.
Its supposed to be short, you're likely to type it a lot.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Follow me to certain death
,
Test::Unit, Test::Mail and ExtUtils::TBone. And, of course, Barrie's
Test::Differences.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Carpe canem! Seize the dog! This cannot be right
::More. OTOH, the
current behavior of is() is difficult to emulate otherwise.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
I will personally promise to glare sternly at such people
On Sat, Dec 15, 2001 at 07:54:17PM +0900, Tatsuhiko Miyagawa wrote:
2) Testing my CPAN module
I don't like letting go Test::More for it ;)
If I understand you, they work together fine.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance
') } );
or even:
ok (eval { ref($foo) $foo-isa('Foo') });
As Kurt already pointed out, you can do:
ok( UNIVERSAL::isa($foo, 'Foo') );
but if it fails you have no idea what $foo was.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality
contains by directly reading it?
I'm assuming that it's safe for the test to assume that do/require/use
work with @INC correctly.
Technically, yeah. But Brent's already gone that extra mile.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance
On Sun, Dec 16, 2001 at 10:53:14PM +0100, Abe Timmerman wrote:
Doh, my bad, I had 2.00_01 hanging around on my system.
Works ok on both my regular ActivePerl 5.6.1 (build 628) and freshly compiled
bleadperl
Yay! Thanks.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com
conforming, objects, just change the
tests.
PS Do you know of anything that does return unpredictably typed
objects?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
36 haikus
would scare
was literally just about to
release 0.40 and I HAD to go read my email first.
Either way, your above ok() solutions still give you no failure
diagnostics, which is the whole point.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL
.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
There is nothing wrong. We have taken control of this sig file. We will
return it to you as soon as you are groovy.
()
Combines a todo test with skip's ability to jump whole blocks.
Useful for when a todo test can't be run at all because it will
die or otherwise cause havoc. Doesn't come up all that often,
but I found myself needing it a few times in the core tests.
--
Michael G. Schwern [EMAIL
.
Couldn't now even if I wanted to. Been around too long, would break
too many tests.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Stupid am I? Stupid like a fox!
Stas Bekman found a problem with the globals in Test.pm when run under
mod_perl (ie. persistently). Test::More probably has the same
problem.
Also, the license has been changed from Artistic-only to same as Perl.
http://www.pobox.com/~schwern/src/Test-1.19.tar.gz
2001-12-17 Michael G Schwern
nit in 5.004_04
- Little speling mistak
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Hold on while I slip into something a little more naked.
On Tue, Dec 11, 2001 at 01:52:12PM -0500, Kirrily Robert wrote:
Are we doing the time warp again, or are the Huskies just tired of
pulling the packets across the border?
How about:
compare($foo, =, $bar)
cmp_ok(). Close.
--
Michael G. Schwern [EMAIL PROTECTED]http
On Sat, Dec 22, 2001 at 03:13:12PM -0500, Aaron J Mackey wrote:
On Fri, 21 Dec 2001, Michael G Schwern wrote:
I can never keep it straight when to put an apostrophe on /it'?s/
It's very simple. If you can replace the its with it is, then there's
an apostrophe to denote the contraction
On Sat, Dec 22, 2001 at 09:48:22AM +0100, Philip Newton wrote:
after meditating on this: http://www.angryflower.com/bobsqu.gif
That oversimplifies things a bit; the rule possessive things take
apostrophe-s doesn't apply to pronouns.
Fascinating. Thanks for the patch.
--
Michael G
::Simple/More/Builder's t/fail*.t tests do this in varying levels
of contortions. They're a bit brutish since they largely predate
Test::Builder and can't trust it anyway, having to do odd things like
writing its own ok() function.
--
Michael G. Schwern [EMAIL PROTECTED]http
compiling, I'm
not quite following. Assume you had the I_WANT_OUTPUT_DURING_COMPILE
environment variable could you show how you'd be using it?
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
discuss the Straps example in a seperate post.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
purl Hey, Schwern! THERE IS A HUGE GAZORGANSPLATTEDFARTMONGERING-
LIGHTENINGBEASTASAURSOPOD BEHIND
;
-print STDERR # GOT:\n$results\n;
-}
-printf %sok %d%s\n, ($ok ? '' : not ), $test,
- length $name ? - $name : $name;
-$test++;
+kill_perl($prog, $expected, { switches = $switch }, $name);
}
__END__
--
Michael G. Schwern [EMAIL PROTECTED
. Why would the compiled program print nothing
normally? $^C should not be set.
--
Michael G. Schwern [EMAIL PROTECTED]http://www.pobox.com/~schwern/
Perl Quality Assurance [EMAIL PROTECTED] Kwalitee Is Job One
Instant Cross-Platform CGI Programming in Visual Perl 5 with Object
1 - 100 of 1466 matches
Mail list logo