NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Running a single test in Test::Class (Score:2)
I have a vim mapping to let me run a single test [perl.org].
Basically, Test::Class looks at the TEST_METHOD environment variable and runs all tests matching that value (it accepts regexes, too).
Re: (Score:1)
That's ace!
In Emacs it can actually be one level neater; since the tests are run from within Emacs itself it's easy to simply set the env var before kicking off the test run. No need to edit the source file.
Re: (Score:1)
Vim can do the same. :-)
Re: (Score:2)
Yeah, I get lazy sometimes. I should really fix that :)