Thanks for all the reports about unit test failures.

The failures in the frames tests listed below are test bugs, and can be ignored. The indexing in show_frames had been incorrect. And the tests for them had the wrong expected results (so they were passing, incorrectly). Paul fixed the show_frames code, but didn't fix the tests, so they started failing (because the corrected output did not match the incorrect expected results). I've just committed corrections to the tests to CVS, and they will be in the next release.

The other failures being reported are more confusing. They seem to be intermittent, and if memory serves, we've been seeing them, intermittently, for a while -- or at least some of them. Please continue to report them until we get them sorted out.

Bret

At 02:07 AM 8/4/2005, Zeljko Filipin wrote:
  4) Failure:
test_button_frames(TC_show_frames)
    [C:/watir_bonus/unitTests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     C:/watir_bonus/unitTests/../unittests/frame_test.rb:125:in
`test_button_frames']:
<"there are 2 frames\nframe  index: 0 name: buttonFrame\nframe  index: 1
name: buttonFrame2\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: buttonFrame\nframe  index: 2
name: buttonFrame2\n">.

  5) Failure:
test_iframes(TC_show_frames)
    [C:/watir_bonus/unitTests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     C:/watir_bonus/unitTests/../unittests/frame_test.rb:133:in
`test_iframes']:
<"there are 2 frames\nframe  index: 0 name: senderFrame\nframe  index: 1
name: receiverFrame\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: senderFrame\nframe  index: 2
name: receiverFrame\n">.

  6) Failure:
test_show_nested_frames(TC_show_frames)
    [C:/watir_bonus/unitTests/../unittests/frame_test.rb:113:in
`capture_and_compare'
     C:/watir_bonus/unitTests/../unittests/frame_test.rb:117:in
`test_show_nested_frames']:
<"there are 2 frames\nframe  index: 0 name: nestedFrame\nframe  index: 1
name: nestedFrame2\n"> expected but was
<"there are 2 frames\nframe  index: 1 name: nestedFrame\nframe  index: 2
name: nestedFrame2\n">.

_____________________
 Bret Pettichord
 www.pettichord.com

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to