[rspec-users] autotest?
Denis Haskin
denis at haskinferguson.net
Wed May 20 13:08:24 EDT 2009
Thanks. Ok -- removing grosser-autotest lets autotest run, but it's
only running my unit tests, not rspec:
$ autotest
(Not running features. To run features in autotest, set AUTOFEATURE=true.)
loading autotest/rails
/usr/bin/ruby1.8 -I.:lib:test -rubygems -e "%w[test/unit
test/unit/design_test.rb test/functional/admin/user_controller_test.rb
test/unit/helpers/admin/user_helper_test.rb test/unit/garment_test.rb
test/functional/admin/admin_controller_test.rb
test/unit/helpers/admin/admin_helper_test.rb].each { |f| require f }" |
unit_diff -u
Here's all my versions:
cucumber (0.3.3)
rails (2.3.2, 2.2.2)
rspec (1.2.6, 1.1.12)
rspec-rails (1.2.6)
ZenTest (4.0.0)
OS: Ubuntu 8.10
I *was* missing rspec-rails, but even after installing it, same result
as above.
Is there some configuration I need to do to get rid of unit/functional
tests and only run rspec+cucumber?
Thanks!
dwh
Scott Taylor wrote:
> Denis Haskin wrote:
>> I didn't have ZenTest installed. I just did, but I still get the
>> same error. Should I *not* have grosser-autotest installed?
>>
>> $ gem list | grep -i test
>> grosser-autotest (4.0.4)
>> test-unit (2.0.2)
>> ZenTest (4.0.0)
> Try removing it.
>
> Make sure to grab the latest ZenTest (which you now have), and rspec
> (and rspec-on-rails, if you are in a rails project).
>
> Aslak used to have some good abbreviation for this phrase: what
> versions of everything are you using?
>
> - rspec
> - rspec on rails (if in a rails project)
> - rails (if in a rails project)
> - OS
>
> Scott
>
>
>
>>
>> dwh
>>
>> Scott Taylor wrote:
>>> Denis Haskin wrote:
>>>> Hmm. Okay, tried that but:
>>>>
>>>> $ autospec
>>>> (Not running features. To run features in autotest, set
>>>> AUTOFEATURE=true.)
>>>> loading autotest/rails_rspec
>>>> Autotest style autotest/rails_rspec doesn't seem to exist. Aborting.
>>>>
>>>> I'm running my rails rspec examples just fine manually...
>>>>
>>>> dwh
>>>>
>>> What version of the ZenTest gem do you have?
>
More information about the rspec-users
mailing list