Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Running UI tests in Eclipse

Am 03.02.2011 09:00, schrieb Matthias Sohn:
2011/2/2 Robin Rosenberg<robin.rosenberg@xxxxxxxxxx>:
Robin Stocker skrev 2011-02-02 21:56:
Hi there,

Do you run individual UI tests from within Eclipse? I'd like to do that.
Running all the UI tests using maven works, but it's not really nice if
you want to debug just a single test.

When I try to run an individual UI test by running it as a "SWTBot
Test", I get the attached stacktrace.

Am I missing a run configuration option or should I be doing it a
different way?

A plain "Run As>SWTBot Test" works here. No tricks involved.

Yeah, this also works here both on Windows 7 and Mac OSX 10.6

The problem was that there were errors in org.eclipse.jgit.http.test because jetty couldn't be found. After installing "Jetty Target Components" from the Helios update site, the UI tests work.

I saw that there was an open change about having a target platform for this:

http://egit.eclipse.org/r/382

But when I try to open it I get an "Internal Server Error". Anyone else getting this?

--
  Robin Stocker


Back to the top