[rspec-users] autotest?

David Chelimsky dchelimsky at gmail.com
Thu May 21 11:49:37 EDT 2009


On Thu, May 21, 2009 at 10:34 AM, Kero van Gelder <kero at chello.nl> wrote:
>> >> > Is there some configuration I need to do to get rid of unit/functional
>> >> > tests and only run rspec+cucumber?
>> >
>> > [...]
>> >> I guess I should add this in some form to the rspec wiki ;)
>> >
>> > Done:
>> >   http://wiki.github.com/dchelimsky/rspec/autotest-integration
>>
>> Thanks Kero. I added a bit of information about autospec to that wiki page.
>
> I keep learning things...
> add_mapping returns nil, that's why it works for autotest/rspec.rb
>
> But I've ran strace to confirm the problem I had with non-nil myself:
> ~/.autotest is ran *before* ./.autotest on my system (debian unstable).
> Are you sure it's the other way around on your system?
> I haven't seen autospec docs that claim one or the other.

No - you're correct - I had it wrong- and what you're experiencing
makes more sense. The local .autotest should load after the global
~/.autotest so it can do app-specific stuff.

I'll update the wiki page as soon as I can load it (having trouble
reaching github this moment).

Cheers,
David

>
> Bye,
> Kero.


More information about the rspec-users mailing list