Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » JUnit as dependency for SWTBot features?
JUnit as dependency for SWTBot features? [message #518891] Fri, 05 March 2010 01:46 Go to next message
Ralf Ebert is currently offline Ralf Ebert
Messages: 168
Registered: July 2009
Senior Member
Hi,

the SWTBot features don't have org.junit as dependency - maybe adding such a dependency
would make sense to ease the installation of SWTBot into a target platform via p2?

Greetings,

Ralf

--
http://www.ralfebert.de/blog/eclipsercp/
Re: JUnit as dependency for SWTBot features? [message #519025 is a reply to message #518891] Fri, 05 March 2010 08:22 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
This is because junit is shipped as 2 bundles -- one for junit 3 and
another for junit 4.

SWTBot does not care about the junit version unless you're writing tests
using the junit4 format.

Going ahead SWTBot may stop supporting the old junit 3 style of writing
tests and it'll certainly make sense to bundle junit4.

Hope that makes sense.

Cheers!

-- Ketan

On 3/5/10 3:34 AM, Ralf Ebert wrote:
> Hi,
>
> the SWTBot features don't have org.junit as dependency - maybe adding
> such a dependency would make sense to ease the installation of SWTBot
> into a target platform via p2?
>
> Greetings,
>
> Ralf
>
Re: JUnit as dependency for SWTBot features? [message #519044 is a reply to message #519025] Fri, 05 March 2010 15:33 Go to previous message
Ralf Ebert is currently offline Ralf Ebert
Messages: 168
Registered: July 2009
Senior Member
> Going ahead SWTBot may stop supporting the old junit 3 style of writing
> tests and it'll certainly make sense to bundle junit4.

This was changed recently for 3.6, so a feature dependency would allow to support both IMHO:

org.junit_3.8.2.v20090203-1005
org.junit_4.8.1.v4_8_1_v20100114-1600

Greetings,

Ralf

--
http://www.ralfebert.de/blog/eclipsercp/
Previous Topic:Cant Access Errormessage
Next Topic:Give an argument to the swtbot test on run
Goto Forum:
  


Current Time: Thu Jul 24 02:41:06 EDT 2014

Powered by FUDForum. Page generated in 0.01865 seconds