Skip to main content

[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

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.

--
Ketan
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?

John



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


Back to the top