Closed edward closed 13 years ago
Hi, Edward! =-)
This is a bug in InfinityTest. But, I think this message appears because there is no files to test.
Maybe I need to show a message when not have file to test.
What your opinion about it?
Thanks m8!
I am getting this same error, although I DO have files to test.
Humm ...
The InfinityTest "defaults" search files in this pattern (For Rubygems):
test/*/*_test.rb
You guys, can do me a favor?
Post the test files NAME here for me reproduce the bug here.
Thanks!
I get the same error on a brand new Rails 3 app with a few tests.
infinity_test --rails
bundler: command not found: -Ilib:test
Install missing gem binaries with `bundle install`
Hi @erdah!
Post the test files NAME here for me reproduce the bug here. And print the output with:
infinity_test --rails --verbose
Thanks!
Thanks,
I've tried running infinity_test in many Rails projects, both RSpec and Unit::Test. The same error.
This is the output from my current project:
infinity_test --rails --verbose
* { :ruby => ruby-1.9.2-p136@woodler2 }
rvm ruby-1.9.2-p136@woodler2 ruby /Users/erdah/.rvm/gems/ruby-1.9.2-p136@woodler2/bin/bundle exec -I"lib:test" /Users/erdah/.rvm/gems/ruby-1.9.2-p136@woodler2/gems/infinity_test-1.0.2/lib/infinity_test/test_unit_loader.rb test/functional/admin/app_controller_test.rb test/functional/admin/press_releases_controller_test.rb test/functional/admin/test_controller_test.rb test/functional/public/pages_controller_test.rb test/functional/public/press_releases_controller_test.rb test/functional/routing_test.rb test/performance/browsing_test.rb test/unit/press_release_test.rb
bundler: command not found: -Ilib:test
Install missing gem binaries with `bundle install`
Owww....
With RSpec, too? Now I'm worry. =\ But, The RSpec don't have the "-Ilib:test". You can see here: https://github.com/tomas-stefano/infinity_test/blob/master/lib/infinity_test/test_library/rspec.rb#L31
I'll patch soon this code for Test:Unit. This is easy, I guess.
=]
Hi Tomas,
Great! Really looking forward to using infinity_test again. Thanks
I ran into this problem when creating a new project (rails, testunit, rvm & project specific gemsets). Old project was working with the same gem version and the thing that fixed the new one was adding "skip_bundler!" option.
heikki,
Excellent, thanks for the tip!
This issue is closed by this commit:
https://github.com/tomas-stefano/infinity_test/commit/3e068ef168457db308f3e4cee70a2cc4719d4cb2
Thanks to @odorcicd Bye!
Hi Tomas,
Great library! I really like using infinity test.
Upon installing it on a new machine running ruby-1.9.2-p136, I ran into the following error. Could you please help me figure out what’s going on?