Whoops - hit send to early...

I would add that you'll see this if you have no valid test methods.   A
valid test method looks like:

def test_something

end

They have to start with test.

-andy


On Wed, Mar 4, 2009 at 3:50 PM, Andy Sipe <ajs.gene...@gmail.com> wrote:

> The default Test::Unit behavior is to fail a test when there are no tests
> in a class.  It does this by injecting a test case called 'default_test'.
>
> What you are seeing is that default behavior.
>
> -andy- Show quoted text -
>
>
>
> On Wed, Mar 4, 2009 at 3:33 PM, venky <venkatesh...@gmail.com> wrote:
>
>>
>> Hi
>>
>> I am using
>>
>> class Index_builder<Test::Unit::TestCase
>>  ...
>> end
>>
>> when the execution is finished
>> i am getting a failure like this
>>
>> ========
>>  1) Failure:
>> default_test(class_name) [test_case_name.rb:45]:
>> No tests were specified.
>> ========
>>
>> i tried my best to find this but i could't figure out. can any body
>> help in this
>>
>>
>> Thanks,
>> Venkat
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to