I got this error while running a test thru testsuite: Loaded suite C:/TESTSU~1.RB Started FE Finished in 15.124 seconds.
1) Failure: default_test(TC_newprojectso) [c:/ruby/lib/ruby/1.8/Test/Unit.rb:278 C:/TESTSU~1.RB:44]: No tests were specified. 2) Error: default_test(TC_newprojectso): NameError: undefined local variable or method `ie' for #<TC_newprojectso:0x34be648> C:/TESTSU~1.RB:40:in `teardown' 1 tests, 1 assertions, 1 failures, 1 errors My code was like this: require 'Test/Unit' require 'watir/WindowHelper' require 'watir' class MyTests include Watir def self.suite suite = Test::Unit::TestSuite.new suite << TC_newprojectso.suite return suite end end class TC_newprojectso < Test::Unit::TestCase def setup --- ---- end def teardown ---- --- end def newprojectso ---- ---- end end How to avoid this error --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6256&messageID=17585#17585 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general