Change your method name from default_test to test_default. test/unit thinks
method is a test only when method name starts with test_. No tests were
specified. error means that you do not have any method which name starts
with test_.
--
Zeljko Filipin
zeljkofilipin.com
Can you post the complete code for your unit tests? I notice the `ie` not found
variable; I'm assuming you have either:
a) tried to create a Watir IE object like: myIE = ie.start( www.url.com ) -
in this case the Watir IE object must be capitalized
b) created your Watir IE object correctly like
Try changing the name of the test method from
'newprojectso' to 'test_01_newprojectso'. Test::Unit
looks for methods that start with 'test_'.
John
--- sarita [EMAIL PROTECTED] wrote:
I got this error while running a test thru
testsuite:
Loaded suite C:/TESTSU~1.RB
Started
FE
Finished
sarita wrote:
def self.suite
suite = Test::Unit::TestSuite.new
suite TC_newprojectso.suite
return suite
end
end
Why are you doing this?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
I replaced ie with $ie throughout the code. The second error didn't come, but
the first one still coming. This time in testsuite, I used two tests the
following error came:
C:\testsuite.rb
Loaded suite C:/TESTSU~1.RB
Started
FF
Finished in 34.139 seconds.
1) Failure: