[rspec-users] Autotest won't pickup any tests

Christian Hoeppner chris.webstar at gmail.com
Mon Feb 23 05:17:47 EST 2009


*smacks forehead* Who would have known. Ha! I spent the entire weekend  
"debugging" that lib.

Now, how do I create a rake task that runs autospec with a few options?

On 20/02/2009, at 15:56, David Chelimsky wrote:

> On Fri, Feb 20, 2009 at 6:15 AM, Christian Hoeppner
> <chris.webstar at gmail.com> wrote:
>> Hey there,
>>
>> I've tried using Nick Sieger's "plugin" to have autotest run my  
>> tests for
>> gems and other non-rails stuff. However, it doesn't seem to match  
>> any tests
>> for any files. Not being sure what was wrong, I traced the  
>> execution of
>> RspecAutotest.run() and saw that tests_for_file() never got called.  
>> I also
>> replicated a tests_for_file() call by hand in irb, and it does  
>> match the
>> right spec file for any given implementation file.
>
> That lib is way outdated. RSpec now supports autotest directly with
> the autospec command.
>
>>
>> Here's what I use:
>> ZenTest (3.11.1), rspec (1.1.12), ruby, ruby 1.8.1 (2003-12-25)
>> [i686-darwin].
>>
>> Sieger's file is the latest from svn, dated from 2007.
>> _______________________________________________
>> 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

Saludos,
Chris Hoeppner
S.A.T. Gigabyte Solution S.L.
<m> 637 333 204
<o> 928 821 633
<e> chris.webstar at gmail.com
<w> codigo404.wordpress.com



More information about the rspec-users mailing list