|macosx experiences [message #34336]
||Sun, 03 May 2009 20:23
| Richard Adams
Registered: July 2009
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 184.108.40.206 feature from the update site
3. Followed the instructions which we eventually found in Ketan's
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
Has anybody else had these problems? Any ideas for fixes?
Dr Richard Adams, University of Edinburgh
Powered by FUDForum
. Page generated in 0.01629 seconds