Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Hacking perl

by hossman (Prior)
on Oct 21, 2005 at 00:03 UTC ( #501855=note: print w/replies, xml ) Need Help??

in reply to Hacking perl

Superb write up.

I feel sadend however, by one thing that seems to be missing, but in my opinion is absolutely critical to any patch to any OSS Code Base -- test cases.

Even if you don't believe in Test driven development, even if you don't worry about having 100% code coverage in your test suite, the best way to explain what a patch does, is to provide some tests that demonstrates it's usage.

Replies are listed 'Best First'.
Re^2: Hacking perl
by robin (Chaplain) on Oct 21, 2005 at 07:13 UTC

    A very good point, thanks. (Certainly a patch would never be accepted into the core unless accompanied by tests.) I'll update my node to include some tests.

    Update: I've updated it. Now with tests!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://501855]
[shmem]: python sucks
[LanX]: keep your sexlife private, please!
[LanX]: ;-p
shmem spent 3 hours chasing a bug related to variable scoping
[shmem]: is there an equivalent to my in python? or 'use strict' ?
[LanX]: I doubt
[LanX]: only nonlocal in Py3

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (13)
As of 2018-03-20 17:50 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (256 votes). Check out past polls.