[rspec-users] what triggers "./script/autospec" to kick in? when I change my model it doesn't always retest

David Chelimsky dchelimsky at gmail.com
Tue Nov 11 21:05:01 EST 2008


On Tue, Nov 11, 2008 at 8:00 PM, Greg Hauptmann
<greg.hauptmann.ruby at gmail.com> wrote:
> thanks - this seemed to fix it
>
> wonder why it was working for the first time run (i.e. tests were
> working) but just not re-triggering?  just the way autotest works I
> guess

The first time it loads everything in the spec directory, or
spec/models if you type 'rake spec:models' etc etc etc

After that it looks at changes and looks to the mappings to know what to do.

>
> On Wed, Nov 12, 2008 at 11:22 AM, Mark Wilden <mark at mwilden.com> wrote:
>> On Tue, Nov 11, 2008 at 5:01 PM, Greg Hauptmann
>> <greg.hauptmann.ruby at gmail.com> wrote:
>>>
>>> * app/models/recurring/projections.rb <== one I was changing & not
>>> always triggering a retest
>>> * spec/models/projections/projections_spec.rb <== where the associated
>>> tests are
>>
>> The model and the spec are in different subdirectories under app and spec.
>>
>> ///ark
>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list