Re: Meta testing

2003-03-29 Thread Nicholas Clark
27;s Dilemma any longer. Nicholas Clark

Re: [RFC] Module::Husbandry

2002-12-20 Thread Nicholas Clark
that something with that name is not intended for production. Nicholas Clark

Re: callbacks at the end of Test::More ?

2002-11-07 Thread 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

callbacks at the end of Test::More ?

2002-10-26 Thread Nicholas Clark
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/

Re: [ANNOUNCE] tv (Test::Verbose 0.001)

2002-10-24 Thread Nicholas Clark
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

Re: Test::Class - comments wanted

2002-10-15 Thread Nicholas Clark
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/

Re: Some upcoming changes to Test::Builder

2002-10-15 Thread Nicholas Clark
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

Re: [ Memory ] Re: Thought

2002-10-05 Thread 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/

Re: [ Memory ] Re: Thought

2002-10-04 Thread Nicholas Clark
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/

Re: [ Memory ] Re: Thought

2002-10-03 Thread Nicholas Clark
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

Re: [ Memory ] Re: Thought

2002-10-02 Thread 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

Re: Why not a smoke db ?

2002-09-23 Thread 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

Re: Eliminating the core-test BEGIN block (was Re: [ken@mathforum.org: Re: [Inline 0.43] insecure dependency when tainting])

2002-09-03 Thread 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

Re: Fwd: [ken@mathforum.org: Re: [Inline 0.43] insecure dependency when tainting]

2002-08-29 Thread 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

Re: Testing POSIX locale support

2002-08-26 Thread Nicholas Clark
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/

Re: RFC: Test::ManyParams

2002-08-09 Thread Nicholas Clark
ssibly by overloading CORE::GLOBAL::rand at BEGIN time. Nicholas Clark -- Even better than the real thing:http://nms-cgi.sourceforge.net/

Re: RFC: Test::ManyParams

2002-08-02 Thread Nicholas Clark
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

Re: [perl #15479] perl 5.8.0 segfault

2002-07-31 Thread 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

Re: Test::Harness skip reason report change?

2002-04-26 Thread 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/

Re: How to test for the absence of an infinite loop?

2002-03-18 Thread Nicholas Clark
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

Re: [Patch docs] perlsub. Re: [ID 20020227.012], [ID 20020227.018]

2002-03-09 Thread Nicholas Clark
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)

Re: More Test::Builder::Test stuff

2002-02-21 Thread Nicholas Clark
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

Re: Untested modules update: The Magic Number is 27

2001-12-27 Thread Nicholas Clark
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