[rspec-users] Autotest with TDD "test-first" problem

David Chelimsky dchelimsky at gmail.com
Sat Feb 23 09:10:21 EST 2008


On Fri, Feb 22, 2008 at 11:18 AM, Paul Dowman <lists at pauldowman.com> wrote:
> Hi, I'm mostly quite happy using  autotest with rspec, but there's one
>  thing that's been bothering me, and as my test suite grows larger it'd
>  becoming more painful.
>
>  Autotest re-runs the entire suite whenever a spec that had previously
>  failed passes for the first time. I find that incompatible with
>  writing tests first in classic TDD style. I write the test which fails
>  (because there's no implementation yet), and then just implement the
>  method and watch it pass. But now autotest decides to re-run the
>  entire test suite, which takes a couple of minutes, and in the
>  meantime I'm stuck waiting to see if my next spec will pass or not.
>
>  Is it possible to change that behavior somehow, so that it doesn't re-
>  run the entire suite every time?

Interesting idea. How would you want autotest to decide when to run everything?

In the end, this belongs in ZenTest, not RSpec, but we can certainly
discuss it here :)

Cheers,
David

>
>  Thanks,
>  Paul
>  _______________________________________________
>  rspec-users mailing list
>  rspec-users at rubyforge.org
>  http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list