Jason,
The unittests are not designed to be run after gems are installed.
all unittests are desing to run in Development mode - you need to check out
the source from SVN and run the unittests on trunk
This is a known issue, and unittests should probably not be packaged into
gems.
more here;
http://wiki.seleniumhq.org/display/WTR/Running+Unit+Tests+in+Development
and in release notes


marekj | Semantic Page Objects Automation

Watirloo: Browser Page Helper Framework
http://www.bitbucket.org/marekj/watirloo/
for IE, Firefox and others?




On Mon, Dec 1, 2008 at 10:30 AM, Jason <[EMAIL PROTECTED]> wrote:

>
> I am using Ruby version 1.8.6 and Firewatir version 1.6.2 in Windows
> XP.  I installed firewatir using 'gem install firewatir', but when I
> try to run the included unit tests, mozilla_all_tests.rb, I get the
> following error:
>
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_re
> quire': no such file to load -- unittests/setup/lib (LoadError)
>        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 27:in `re
> quire'
>        from C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests/
> setup.rb:1
> 5
>        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 27:in `ge
> m_original_require'
>        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 27:in `re
> quire'
>        from C:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/unittests/
> mozilla_al
> l_tests.rb:3
>
> I am able to run all the sample tests in Watir 1.6.2 just fine.  From
> what I've read on the message board, this error seems to indicate that
> firewatir was not installed properly, but I don't see I could've
> screwed up typing 'gem install firewatir'.  I am very new at this, any
> help would be appreciated.
>
> - Jason
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to