macosx experiences [message #34336] |
Sun, 03 May 2009 20:23 |
Richard Adams Messages: 77 Registered: July 2009 Location: Edinburgh |
Member |
|
|
Hello,
I have been using SWTBot (the net.sf version 1.3.0) quite happily for a
while, using WindowsXP, and EClipse 3.4.1, and our RCP project has about
50 GUI tests now. Recently we started developing on Macosx, and we have
noticed that the same test suite passes /fails apparently randomly -
usually several tests fail, which are different each time. Many of our
tests manipulate a dialog or wizard, and then check for the creation or
modification of a workspace resource. We spent quite some time making this
robust for Windows - i.e., adding 'wait' conditions and it is a bit
puzzling why we get the unpredictable behaviour on the Mac, which makes
the test suite very unreliable. I should say these tests are run from
Eclipse, not from Ant.
So we tried upgrading to SWTbot version 2, in case that might help- but
have so far been unable to create any sort of test to run at all.
1. We removed the net.sf.swtbot plugins
2. Added SWTBot 2.0.0.204 feature from the update site
3. Followed the instructions which we eventually found in Ketan's
EClipseCon2009 presentation.
4. Using junit3, we always get the 'no testable methods found'.
5. Using junit 4, and the MyFirstTest example, a new instance of
Eclipse launches, the @BeforeClass method is executed, but the @Test
method is not run. Eventually runtime eclipse exits, with no junitreport
generated.
Has anybody else had these problems? Any ideas for fixes?
Thanks
Richard
Dr Richard Adams, University of Edinburgh
http://richardadams606blog.blogspot.com/
http://csbe.bio.ed.ac.uk/adams.php
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01946 seconds