Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: RFC: Stub Test Generator perl module + vim script

by naikonta (Curate)
on Aug 11, 2007 at 01:19 UTC ( [id://631911]=note: print w/replies, xml ) Need Help??

in reply to RFC: Stub Test Generator perl module + vim script

First of all, this is an excellent idea! I love both vim script and module versions (haven't got the chance to try it, but I will). As for the sequence of functionalities, I'd like to suggest to provide an option to not running the number 4 & 5 (makefile related), as some people writing modules already have a Makefile in their structure, specially if the skeleton was generated with h2xs. I'm talking about the vim script version, as for the module version I believe it is (or can be) more flexible.

I also don't know whether the vim script version requires vim to be compiled with perl or not.

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!

Replies are listed 'Best First'.
Re^2: RFC: Stub Test Generator perl module + vim script
by chargrill (Parson) on Aug 11, 2007 at 02:27 UTC

    Actually, as far as the vim script/plugin goes, it will only write a t/filebasename.t and a Makefile if they don't already exist. This is especially useful if you've used it already to create a test stub (or a Makefile) and started fleshing out the tests (or customizing your Makefile) - "whoops, didn't mean to overwrite that!" :)

    s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://631911]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 20:04 GMT
Find Nodes?
    Voting Booth?

    No recent polls found