Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] swtbottestapplication in Tycho

If you're using Jenkins, you just need to install the Xvfb plugin (https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin)
Works perfectly on my Linux CI machine

Regards
Jeff


On Wed, Sep 12, 2012 at 9:43 AM, Mickael Istria <mistria@xxxxxxxxxx> wrote:
On 09/12/2012 09:39 AM, Hansen, Alexander wrote:

Hi!

 

I´m struggling with letting my SWTBot Tests run on our (bamboo) CI Server. Currently I´m a little confused on how this should be done. The tests run well launched from maven on the dev machine, but running on the CI server causes a TimeOutException with “The shell 'Save Resource' did not activate.” – so it seems to me, no Shell is available for the tests.
 
I read about the swtbottestapplication used to launch from ANT – as far as I figured out the tycho-surefire-plugin uses an other application to start the tests? Should I even care about this? I also find a screenshot from SWTBot in my project that is entirely white.

Hi,

You don't need the swtbottestapplication to run SWTBot test. The surefire test application in Tycho works perfectly.
Instead, when running SWTBot tests on CI, you should verify that you CI server is able to run correctly UI applications. If you're on Linux, it means verifying you have a DISPLAY set to a valid X session for your tests, and that you have a Window Manager started.
http://wiki.eclipse.org/SWTBot/Automate_test_execution#On_Jenkins

HTH

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Back to the top