Update. We've since addressed this by avoiding a junit-4-less environment. The 
question is now moot.

John

________________________________
From: swtbot-dev-boun...@eclipse.org [swtbot-dev-boun...@eclipse.org] on behalf 
of Cortell John-RAT042 [rat...@freescale.com]
Sent: Wednesday, February 22, 2012 9:34 PM
To: SWTBot developers list
Subject: Re: [swtbot-dev] Does swtbot require junit4?

We're using SWTBot 2.0.4 on Eclipse 3.5.

The question was whether SWTBot has a hard dependency on junit-4 being in the 
workbench. It appears it does, looking at the MANIFEST.MF of the o.e.swt.finder 
and o.e.swt.eclipse.finder plugin. So, even if SWTBot works with junit-3, it 
nonetheless requires junit-4 to be around.

Why we're working with a workbench that is lacking the junit-4 plugins is a 
long story.

John

________________________________
From: swtbot-dev-boun...@eclipse.org [swtbot-dev-boun...@eclipse.org] on behalf 
of Ketan Padegaonkar [ketanpadegaon...@gmail.com]
Sent: Wednesday, February 22, 2012 7:30 PM
To: SWTBot developers list
Subject: Re: [swtbot-dev] Does swtbot require junit4?

JUnit 3 support has been deprecated(although it should work). What version of 
eclipse and SWTBot are you on? There is a troubleshooting 
guide<http://wiki.eclipse.org/SWTBot/Troubleshooting#Headless_Testing_Troubleshooting>
 for headless testing with SWTBot just in case you have to get your hands dirty.

- Ketan

On Wed, Feb 22, 2012 at 7:12 PM, Cortell John-RAT042 
<rat...@freescale.com<mailto:rat...@freescale.com>> wrote:
We have a plugin that uses SWTBot. Its MANIFEST.MF lists no dependencies on 
junit4 (we use junit3). Should we be able to run the tests headless with an 
eclipse installation that lacks junit4? We're having runtime issues apparently 
because junit4 is not available. I'm trying to find out if it's a configuration 
issue or if junit4 is for sure needed. We're using the junit3-headless plugin, 
AFAIK.

John
_______________________________________________
swtbot-dev mailing list
swtbot-dev@eclipse.org<mailto:swtbot-dev@eclipse.org>
https://dev.eclipse.org/mailman/listinfo/swtbot-dev

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

Reply via email to