--state breaks refactoring
Andy Armstrong
andy at hexten.net
Wed Dec 19 07:34:45 EST 2007
On 19 Dec 2007, at 12:19, Ovid wrote:
> Try this:
>
> $ mkdir t
> $ vim t/foo.t t/bar.t
>
> And make those tests look like this:
>
> use Test::More tests => 1;
> ok 1;
>
> Run them with your favorite "state" incantation:
>
> prove --state=hot,fast,save t
>
> Then:
>
> $ rm t/foo.t
> $ prove --state=hot,fast,save t
> t/bar......ok
> Cannot determine source for t/foo.t at
> /home/poec01/code/cpan/share/perl/5.8.8/App/Prove.pm line 427
>
> Oops. I've been doing a lot of work refactoring tests lately and
> renaming or moving tests causes this to break.
Ah, sorry about that.
It's already fixed in the repo I think. Could you give the latest
snapshot a try and let me know if it solves the problem?
--
Andy Armstrong, Hexten
More information about the tapx-dev
mailing list