Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
For some reason, folks seem to complain a lot about the test plan in vim because, as you know, it's so much work to switch 'no_plan' to a real plan. Based on a couple of mappings that chromatic wrote, I wrote a plugin that toggles the test plan for you just by typing ',tp' ('t'oggle 'p'lan). Now I expect folks to complain because they still have to update the test count manually.
Complaining (Score:2)
Sure, compiling that list would be tedious, but each person could maintain their own.
Of course... I'm forgetting about tests inside cycles, so... hum...
Well, I just felt like complaining
Re:Complaining (Score:2)
Yeah, the problem is that this involves parsing Perl, a notoriously unreliable thing. Otherwise, I'd be happy to. Fortunately, I work with a vim guru (smylers) and he's been helping me with the tricky bits.
Re:Complaining (Score:1)
Re:Complaining (Score:2)
I think I will, but now that I'm looking at it, I have a bunch more work to do on it. I have some automatic pod generation and boilerplate routines that I could use to create a 'PerlDeveloper.vim' script that could incorporate a lot of nifty things to make vim a very easy choice for Perl. However, can't do that at work :)
Re:Complaining (Score:1)
Re:Complaining (Score:2)
Hey, that's a good idea. I'll check it out. Thanks!
Re: (Score:1)
Unfortunately the code in there is positively awful. But maybe Ovid has a higher revulsion than me, or something.
Emacs toggle-test-plan (Score:1)
Have some Elisp code.
Re:Emacs toggle-test-plan (Score:1)
Re:Emacs toggle-test-plan (Score:2)
Hey, that looks awesome (no surprise that someone interested in Prolog would have Lisp skills, I suppose).
I've been thinking about creating several vim tools specifically dedicated to making tests easier to write and maintain. Would you be interested in converting them to eLisp?
Re:Emacs toggle-test-plan (Score:1)
So what helpers do y
Re:Emacs toggle-test-plan (Score:2)
There are a few features I'm thinking about.
Obviously I have 1 and 2 working. Number 3 requires a planned feature for Test::Class that lets you run a single test method. I've submitted a patch, but it wasn't as clean as Adrian
Re:Emacs toggle-test-plan (Score:2)
Ooh, and along with the regular documentation, it would be nice to include something like Ian Langworth's testing quick reference card [langworth.com] information. I'm unsure of the syntax, but if someone new to testing wants a quick refresher of how to use Test::More, they could type something like:
And get short output like what's on the card. Still, I don't like that syntax.
Re:Emacs toggle-test-plan (Score:1)