[rspec-users] [rspec-autotest] Autotest is missing some of my specs

ericindc ericmilford at gmail.com
Fri Sep 3 19:42:45 EDT 2010



On Sep 3, 7:33 pm, ericindc <ericmilf... at gmail.com> wrote:
> On Sep 3, 7:09 pm, David Chelimsky <dchelim... at gmail.com> wrote:
>
>
>
>
>
> > On Sep 3, 2010, at 6:07 PM, ericindc wrote:
>
> > > On Sep 3, 7:04 pm, David Chelimsky <dchelim... at gmail.com> wrote:
> > >> On Sep 3, 2010, at 6:02 PM, ericindc wrote:
>
> > >>> Any idea why autotest would miss some of my tests?  I run autotest and
> > >>> everything passes, but rake spec results in 2 failures.  The 2
> > >>> failures are from the model spec that is not being included when run
> > >>> in autotest.
>
> > >> Are you sure that the model spec is excluded from autotest rather than it's just passing?
>
> > >> Also - versions? rspec, rails, ruby, os?
>
> > > I also verified in the autotest output that the model spec is not
> > > included.  Not sure if there are others.
>
> > Versions?
>
> I purposefully broke the test and everything passes.  Running rake
> spec, however, caught the error.  I am running a Rails 3 app on OS X
> and RVM 1.8.7-p302 and the the following:
>
> rspec (2.0.0.beta.20)
> rspec-core (2.0.0.beta.20)
> rspec-expectations (2.0.0.beta.20)
> rspec-mocks (2.0.0.beta.20)
> rspec-rails (2.0.0.beta.20)
> autotest (4.3.2)
> autotest-fsevent (0.2.3)
> autotest-growl (0.2.5)
> autotest-rails (4.1.0)> _______________________________________________
> > rspec-users mailing list
> > rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
>

I also just noticed that renaming the file to something random causes
autotest to pick it up.  It blows up because the corresponding model
does not exist.  Naming it back to it's original causes it to miss
again.


> _______________________________________________
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users


More information about the rspec-users mailing list