Re: [Wtr-general] error with running a testsuite

2007-01-25 Thread Ċ½eljko Filipin
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 _

Re: [Wtr-general] error with running a testsuite

2007-01-24 Thread sarita
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: default_test(TC_newpro

Re: [Wtr-general] error with running a testsuite

2007-01-24 Thread Bret Pettichord
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

Re: [Wtr-general] error with running a testsuite

2007-01-24 Thread John Fitisoff
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 > Fi

Re: [Wtr-general] error with running a testsuite

2007-01-24 Thread Nathan Christie
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 lik

[Wtr-general] error with running a testsuite

2007-01-24 Thread sarita
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_newproject