[Wtr-general] Ruby Nubie fails to get out of the box with Unittests
Paul Carvalho
tester.paul at gmail.com
Wed Feb 1 17:58:52 EST 2006
Hello there. I just installed Ruby and WATIR on my computer a fewhours ago and am still learning about this scripting language.
I started with the WATIR User Guide and tried out the steps in "Step 3- Run the Watir Unit Tests". The final sentence here says: "Thetests should all run and pass."
Unfortunately, I keep getting failures when I run "all_tests.rb" :"182 tests, 1036 assertions, 5 failures, 2 errors"
Here are my system specs:- Windows XP SP2 (all the latest windows updates/security patches applied)- Internet Explorer 6.0.2900.2180.xpsp_sp2_gdr.050301-1519- ruby182-15.exe (installed to default c:\ruby)- watir-1.4.1.exe (installed to default C:\Program Files\Watir)- Active Content is allowed to run in files on My Computer. (I knowthis is working for a fact because I am running my internet radioscript file in a background IE window process while I work.)
I've scanned through the message archives and found similar errormessages reported by Hugh Sasse on Fri Jan 13 10:08:54 EST 2006(subject = "Unit testing").
First observation: I noticed that the unittests\html\images folder ismissing, but I'm assuming that these files aren't really required forsuccessful completion of the tests.Still, I did notice a few popup errors while running the testscomplaining that the files were missing. I can't think that this isnormal/expected behaviour.
Second observation: it looks like a file (pass2.html) is missing. Isthis also intentional?
I decided to run "core_tests.rb" but it also failed : "154 tests, 929assertions, 3 failures, 0 errors"
-> Is there something that I'm missing here? Is there a setup optionor environment variable that I should set to get these tests to workcorrectly?
Please let me know. Thanks in advance. I won't let these hiccupsslow me down while I run through the other examples and tutorials. Ijust thought I'd ask before I forget.
Cheers.Paul.
More information about the Wtr-general
mailing list