[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtbot-dev] running the SWTBot tests from within the IDE

I'm running on Windows XP.

Attached are some screenshots. The first is the launch configuration I'm using to launch the tests. The second is the debug session showing where the test infrastructure is failing.

Looking at this with fresh eyes, I thought I realized what the problem was. I'm trying to use a regular JUnit session to run the SWTBot tests. Maybe SWTBot tests needs an SWTBot session? So, I installed SWTBot into my development IDE and tried using an SWTBot launch config. Unfortunately, I got the same outcome.


At 08:43 PM 1/13/2011, Ketan Padegaonkar wrote:
Sorry I missed this email. What OS and platform are you on? Any additional stack trace would help me finding out the issue.

If you're running on macosx, I know there's some *major* issues with running the swt.finder tests using cocoa. Fixing this involves a lot of work in re-architecting the test runners :(

As a workaround, I suggest that developers use carbon to run tests on macosx.

http://ketan.padegaonkar.name | http://eclipse.org/swtbot

On 1/5/11 1:48 PM, John Cortell wrote:
I'm not having any luck running the /o.e.swtbot.swt.finder.test/ tests
from within my development Eclipse. I'm using Helios. I have all the
SWTBot plugins checked out from subversion. All the plugins successfully
build (implying I've successfully taken other steps--running the ant
build and adding the extra plugins to my Target Platform).

I attempt to run the tests by creating a JUnit Plug-in Test launch
configuration for /o.e.swtbot.swt.finder.test. /I select JUnit 4 as the
test runner. When I launch the configuration, I get an SWTException
(Invalid thread access) because the code is apparently trying to use SWT
from in invalid thread.

I'm obviously not launching the tests properly. Can someone point me how
it /should/ be done?


swtbot-dev mailing list
swtbot-dev mailing list

Attachment: ss_swtbot.gif
Description: GIF image