Domanda

$ rake test
$ rake test
(in /Users/ethan/project/mtc/completestreets)
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I"lib:test" "/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"  
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I"lib:test" "/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/functional/mtc_user_sessions_controller_test.rb" "test/functional/sessions_controller_test.rb" 
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
...
Finished in 0.119673 seconds.

3 tests, 3 assertions, 0 failures, 0 errors
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I"lib:test" "/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"  
Loaded suite /usr/bin/rake
Started

Finished in 0.000228 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

$ autotest
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -I.:lib:test -rubygems -e "%w[test/unit test/test_helper.rb].each { |f| require f }" | unit_diff -u
Loaded suite -e
Started

Finished in 0.000207 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

Tutte le comprensioni illuminanti?

È stato utile?

Soluzione

hey, penso che troverete la risposta qui: ZenTest autotest test non funzionano

un sacco di persone hanno avuto questo problema un po 'indietro e risolti dal downgrade ZenTest -? Non so se che vi aiuterà ... quale versione si sono in ogni caso

C'è un tutorial abbastanza freddo qui che vi mostra come far funzionare autotest con RSpec e growl (o GnomeNotify): http://www.railstutorial.org/chapters/static-pages#sec:installing_autotest nel caso in cui si è interessati

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top