Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
There's more than one way to do things
 
PerlMonks  

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

by naikonta (Curate)
on Aug 11, 2007 at 01:19 UTC ( #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!


Comment on Re: RFC: Stub Test Generator perl module + vim script
Select or Download Code
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!" :)


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-04-17 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (439 votes), past polls