You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running rails (3.2.6), ruby (1.9.3-p125), cucumber-rails (1.3.0) , not using RSpec
Not installing test-unit-rails (1.0.2) :
I can run all my tests ( units , functionals) w rake test
I can run my cucumber integration tests => cucumber --format progress -r features
Trick , using only gem 'test-unit' in the gem file ( to avoid the faulty notify.rb
and adding 2lines in the Cucumber /features/support/env.rb
require 'test/unit/assertions'
World(Test::Unit::Assertions)
However, after installing test-unit-rails (1.0.2) which seems to require and install all dependencies test-unit (2.5.1), test-unit-activesupport (1.0.0), test-unit-capybara (1.0.2), test-unit-notify (0.3.0)
I get an error
Using the default profile...
undefined method prepare' for Test::Unit::AutoRunner:Class (NoMethodError) ..../gems/test-unit-notify-0.3.0/lib/test/unit/notify.rb:14:inmodule:Unit'
..../gems/test-unit-notify-0.3.0/lib/test/unit/notify.rb:13:in <module:Test>' ..../test-unit-notify-0.3.0/lib/test/unit/notify.rb:12:in<top (required)>'
...
obviously Test::Unit::AutoRunner doesn't have the 'prepare' method
The text was updated successfully, but these errors were encountered:
It seems that test-unit-notify uses Ruby bundled Test::Unit instead of test-unit gem.
I want to try it on my environment. Could you show your test/test_helper.rb?
Running rails (3.2.6), ruby (1.9.3-p125), cucumber-rails (1.3.0) , not using RSpec
Not installing test-unit-rails (1.0.2) :
Trick , using only gem 'test-unit' in the gem file ( to avoid the faulty notify.rb
and adding 2lines in the Cucumber /features/support/env.rb
require 'test/unit/assertions'
World(Test::Unit::Assertions)
However, after installing test-unit-rails (1.0.2) which seems to require and install all dependencies test-unit (2.5.1), test-unit-activesupport (1.0.0), test-unit-capybara (1.0.2), test-unit-notify (0.3.0)
I get an error
Using the default profile...
undefined method
prepare' for Test::Unit::AutoRunner:Class (NoMethodError) ..../gems/test-unit-notify-0.3.0/lib/test/unit/notify.rb:14:in
module:Unit'..../gems/test-unit-notify-0.3.0/lib/test/unit/notify.rb:13:in
<module:Test>' ..../test-unit-notify-0.3.0/lib/test/unit/notify.rb:12:in
<top (required)>'...
obviously Test::Unit::AutoRunner doesn't have the 'prepare' method
The text was updated successfully, but these errors were encountered: