PrePAN

Sign in to PrePAN

App::Prove::Plugin::Linger A plugin to prove that watches dist dir for changes and runs tests again

Author
torbjorn@github
Date
URL
Status
In Review
Good

Synopsis

prove -PLinger -lv t/02-foo.t

# Will run the test and monitor the dist dir for changes and then runs test again if changed (and syntax ok)
# It also works for all tests in dir, not limited to .t files specified.

Description

Synopsis pretty much says it all. Watch dist dir for changes and rerun test(s) when changed found (and syntax ok?).

Oh and the name sucks. Suggestions welcome.

Comments

How does this differ from Test::Continuous's autoprove? I've had trouble getting that one working right with very large dists (and unfortunately no time to send patches).

Perhaps you could call it "Monitor"? "KeepAlive"? "Watcher"? "AutoRun"? "Continuous"? "CI" (yielding -PCI)?
Thanks, haven't seen that, but I feel this would be better placed in a plugin to prove rather than to force a separate very similar test tool (though I haven't tried it). I agree with the name suggestions

Please sign up to post a review.