DONE:
- Dust off GIT. (2/13/2010: done)
- Start using my-Ruby-Journey blog again. (2/13/2010: done)
- Ran waitrspec against watir-webdriver. (2/13/2010: found 59 errors)
- Learn more about watirspec. ("git submodule for projects that
want to implement Watir's API." "specs were taken from Celerity") - http://github.com/jarib/watirspec
- Write watirspec-pending JIRA, then add research (see below): See if rcov works with Rspec (so we can use with watirspec). (2/14/2010: Later found/Already done)
- http://rspec.info/documentation/tools/rcov.html
- http://blog.mhartl.com/2009/05/15/running-rcov-with-rspec/
- http://nullcreations.net/entries/general/enforcing-spec-coverage-with-cruisecontrol-rcov-and-rspec
- http://www.claytonlz.com/index.php/2009/04/how-to-setup-rspec-cucumber-webrat-rcov-and-autotest-on-leopard/
- Read about Rspec, RubySpec, and Guards. (2/14/2010: done)
- Set up Test Env. (2/13/2010: done)
- After playing isolating the filefield_spec.rb spec and getting it to run separately, I decide that the best use of my time was to see if I could get watirspec to run against IE.
- I grep'ed for firefox and found that all I needed to do was set a environment variable, WATIR_WEBDRIVER_BROWSER to either "ie" or "chrome" (not comma!!!).
- I first set the env variable to chrome and got 803 of 807 failures in 27.437 seconds, so I went over to "ie" and ran it and got 151 of 807 in 469.372 seconds (both on Vista/64).
- I will try configuration changes and rerun them. Found this reference regarding running Watir Unit Tests http://wiki.openqa.org/display/WTR/Run+Unit+Tests so I installed activesupport (2.3.5) and found that I already had user-choices (1.1.6.1). Also checked that that active content suggestion was checked under Advanced/ Security setting. Also checked that all new windows open as windows (not tabs) was set.
- Also will try to run tests under Administrator window and still got 153 of 807 in 446.004 seconds. Also got a dialog popup when test suite tried to open a file. Here is the results: http://pastie.org/825967
- Also use this to debug: http://angrez.blogspot.com/2006/12/firewatir-how-to.html
- Tried watir unit tests and got error too. After some study, found a not on "Run Unit Tests" that unit tests were broken with R1.6 watir gem, so stopped.
No comments:
Post a Comment