Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: No plan "weakens" my Test scripts?

by leriksen (Curate)
on Feb 08, 2005 at 09:53 UTC ( #428981=note: print w/replies, xml ) Need Help??

in reply to No plan "weakens" my Test scripts?

I find Test::More qw(no_plan); incredibly convenient whilst I am developing the module and tests in question, but once I can say "Finished", then put in the number of tests. This way you get the ease of not having to annoyingly update the test number, but get the protect once your done. is better to be approximately right than precisely wrong. - Warren Buffet

Replies are listed 'Best First'.
Re^2: No plan "weakens" my Test scripts?
by spurperl (Priest) on Feb 08, 2005 at 11:13 UTC
    This is a generally good approach, applicable to many tasks we programmers do. A "stub" for development that makes it easier and can be later removed when the system is released.

    It's important not to forget to remove the stub though !

Re^2: No plan "weakens" my Test scripts?
by dragonchild (Archbishop) on Feb 08, 2005 at 14:43 UTC
    Actually, since I want to write my tests in an intentive manner, I never use no_plan. I want to be completely aware of how many tests I'm adding, because each set of tests should be testing a very specific scenario I have in mind. Otherwise, I'm not doing any better than slinging tests around. (This is equivalent to slinging code around.)

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://428981]
[Cosmic37]: how big was @stuff corenth?
[Cosmic37]: Fast Artificial Neural Network (FANN) is cross-platform open source programming library for developing multilayer feedforward Artificial Neural Networks
[corenth]: @stuff was pretty big. I think it grew to about 8000.
[corenth]: each element was several three + element references
[corenth]: That FANN thing sounds like something I
[Cosmic37]: When I say I like LGPL what I mean is that I like the GPL aspect. I am a fan of Rishard Stallman and the Free Software Foundation but I wish I could be more virtuous... self-flagellates
[corenth]: . . . I'd like to play with
[corenth]: I'm a pragmatic free-software advocate. I'll play in a walled sandbox when I need to.
[erix]: hm, there's a FANN perl module - looks a bit old

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2018-02-20 18:23 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (274 votes). Check out past polls.