sporkrb / spork-testunit

Test::Unit support for Spork
67 stars 27 forks source link

Getting load error #5

Closed sirupsen closed 13 years ago

sirupsen commented 13 years ago

Using Spork from master:

$ bundle exec testdrb test/unit/blog_post_test.rb Exception encountered: #<LoadError: no such file to load -- test/unit/blog_post_test.rb> backtrace: /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in require' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:inblock in require' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:227:in load_dependency' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:inrequire' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/collector/load.rb:100:in block in collect_file' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/collector/load.rb:117:inadd_load_path' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/collector/load.rb:99:in collect_file' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/collector/load.rb:39:inblock (2 levels) in collect' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/collector/load.rb:33:in each' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/collector/load.rb:33:inblock in collect' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/collector/load.rb:117:in add_load_path' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/collector/load.rb:29:incollect' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/autorunner.rb:83:in block in <class:AutoRunner>' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/autorunner.rb:311:in[]' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/test-unit-2.1.2/lib/test/unit/autorunner.rb:311:in run' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/gems/spork-testunit-0.0.4/lib/spork/test_framework/test_unit.rb:10:inrun_tests' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/bundler/gems/spork-0a437df35201/lib/spork/run_strategy/forking.rb:13:in block in run' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/bundler/gems/spork-0a437df35201/lib/spork/forker.rb:21:inblock in initialize' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/bundler/gems/spork-0a437df35201/lib/spork/forker.rb:18:in fork' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/bundler/gems/spork-0a437df35201/lib/spork/forker.rb:18:ininitialize' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/bundler/gems/spork-0a437df35201/lib/spork/run_strategy/forking.rb:9:in new' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/bundler/gems/spork-0a437df35201/lib/spork/run_strategy/forking.rb:9:inrun' /home/sirup/.rvm/gems/ruby-1.9.2-p0@aviastridchat/bundler/gems/spork-0a437df35201/lib/spork/server.rb:48:in run' /home/sirup/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1558:inperform_without_block' /home/sirup/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1518:in perform' /home/sirup/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1592:inblock (2 levels) in main_loop' /home/sirup/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1588:in loop' /home/sirup/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/drb/drb.rb:1588:inblock in main_loop'

sirupsen commented 13 years ago

Me being stupid and confused with 1.9.2 loading paths, testdrb ./test/unit/blog_post_test.rb works.