Testing on Different Platforms (TEST ONLY)
- Set up Test Env.
- Ran the following to set up my WatirSpec test environment on Vista and Cygwin.
- git clone git://github.com/jarib/watir-webdriver.git
- cd watir-webdriver/
- git submodule init
- git submodule update
- Then ran "rake --trace" and got this:
- $ rake --trace
- (in C:/Documents and Settings/jasnow/gitlocalrepo/watir-webdriver)
- ** Invoke default (first_time)
- ** Invoke spec (first_time)
- ** Invoke check_dependencies (first_time)
- ** Execute check_dependencies
- Missing some dependencies. Install them with the following commands:
- gem install webidl --version ">= 0"
- Run the specified gem commands before trying to run this again: /cygdrive/c/deepdiv
- e/InstantRails-2.0-win/ruby/bin/rake
- So I ran this: 'gem install webidl --version ">= 0"'
- and then "rake" to run the tests. Here is the results: http://pastie.org/823752
- It finished in 128.062 seconds with 807 examples, 59 failures. (356 lines of output)
- Going to study the pre-reqs for original Watir Unit Tests.
- Try turning off Pop-Up Blocker on Firefox by going to Tools/Options/Content and unclick on "Block Pop-up Windows".
- Then I tried going into watirspec directory and running "git checkout watir2" to move to branch, but got the same number of failures. So I printed out the Rakefile and the output and will study them.
- After studying them, I undid step 5 and 6 above.
- Chapter 11 blog
- Found I was running watir-webdriver-0.0.1.dev3, so I uninstalled it and reinstalled it ("gem install selenium-webdriver") and got 0.0.1.dev5. Also uninstall all selenium-webdriver and reinstall it and got 0.0.17. Still 356 lines of output.
- Which platform do you run this testsuite on?
Probably tests and gem is out of sync.
No comments:
Post a Comment