27;s Dilemma any longer.
Nicholas Clark
that something with that name is not intended for
production.
Nicholas Clark
On Wed, Nov 06, 2002 at 07:18:14PM -0500, Michael G Schwern wrote:
> On Sat, Oct 26, 2002 at 04:22:49PM +0100, Nicholas Clark wrote:
> > However, I'd like to be able to cleanly print out my random number seed to
> > STDERR (or whatever Test::Builder's correct name fo
ing tests. If so, could I
make a feature request for some way to register such a callback.
Nicholas Clark
--
Brainfuck better than perl? http://www.perl.org/advocacy/spoofathon/
wern to write your tests for you?
That's what I want. :-)
[To be honest, I don't care if it's a Schwern (closure) who merely puts it
onto his (captured lexical) $TODO, as long as there's also a reference to
Chromatic to actually get a round tuit. That still gets my tests written f
terface) but it's possible to count the number of
arguments in @_, and thereby distinguish between no arguments and 1 undef
argument. It's just that saying "pass a literal undef for no plan" is about
as clear as "no_plan". Empty string is probably clearer, and quite easy to
test for (with length, after a defined || croak test)
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
n? I'm confused.
Or do you mean dropping all automatic threading support? In which case, how
does one test threaded code? [not that I've written any]
Will there be an explicit thread testing module?
Nicholas Clark
at YAPC may not want to read it *yet*, because I've not
incorporated more bits based the several other good ideas *I* hadn't thought
of that other people told me.
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
what slows perl" is RAM.
So seeing if a data structure change reduces RAM is interesting to me, the
encode compiler, and everyone building perl from source]
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
if the allocation system grabs a
big block of free space.
However, the function returns something that may not be sbrk() on a system
without sbrk(), don't call it sbrk, because it ain't.
(And do document what it does return on each different system)
Nicholas Clark
vel::Internals;
> >
> > my $end = sbrk ();
>
> Can you please use a better name? sbrk() doesn't mean anything to me.
Trouble is that it's entirely accurate. If you know what sbrk() is in
Unix, then you know that this would return it. The value is not directly
memory used or anything like that. It's the current sbrk() :-)
Nicholas Clark
e also
> > > the CPU architecture in the
> > > report (not all boxes are x86)
Nor are all Solaris boxes sparc.
(or x86 for that matter - it was internally ported to alpha to check 64 bit
cleanliness before true 64 bit sparc chips were available)
> > k, but this is a missing info from smoke report.
>
> I can add $Config{archname} to the smokereports if you all want that.
That would be good.
Nicholas Clark
option at t/path/to/test.t line 1.
So you already have to change the command line to run a -T test by hand.
So I don't see this as a problem:
../perl -TI. -MTestInit t/path/to/test.t
1..1
ok 1
Although writing it -T -I. is probably clearer
Nicholas Clark
'../lib', 'lib');
> }
> else {
> unshift @INC, 't/lib';
> }
> }
>
> so it can see specialty helper modules in t/lib/.
> On Thursday, August 29, 2002, at 06:51 AM, Nicholas Clark wrote:
> >You
No idea about monetary values,
and as I don't understand any Farsi or have any Farsi fonts installed, it's
not going really to help if I have a look.)
So you may wish to install fa_IR and test with that.
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
ssibly
by overloading CORE::GLOBAL::rand at BEGIN time.
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
fore I release a module -
> but I'd like to write tests to avoid systematic mistakes,
> while it would need too long to test all scenarios.
This is the problem that I have, and I think I've found a solution that
works for me.
Nicholas Clark
want to write a
regression test, explaining how to do it, how perl5's tests are structured
to reduce interdependencies, use Test::More; when Test::More is not
appropriate.."
And where did the p5p FAQ get to?
Nicholas Clark
lls you to run the test to see the full output?
Nicholas Clark
--
Even better than the real thing:http://nms-cgi.sourceforge.net/
testing";
kill "INT", $parent or die "Kill failed: $!";
exit 1;
}
}
}
The idea being that a test killing itself after elapsed time (and failing
to return some results from that test) is better than a test hanging forever
and causing a whole auto
e I can see a syntax error that the
patch removes, and as nothing has been applied, that syntax error remained.
Was there ever a feasible plan on how to automate syntax checking of all
the code examples in the pod snippets?
[I remember this rant I had about perlipc once. (rant-and-patch, IIRC)
ix and ensuring it doesn't have any
of the "standard" places to find libraries in INC.
Alternatively, if your Term::ANSIColor is installed in 5.6.1's directories,
just build yourself a 5.005_03 in the regular place :-)
Nicholas Clark
--
EMCFT http://www.ccl4.org/~nick/CV.html
C
so I guess that as much as that as possible, preferable all needs testing
(in an ideal world. As I found with Benchmark.t, trying to test everything
gets quite big. And it had less things than Dynaloader.)
Nicholas Clark
23 matches
Mail list logo