Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot with Maven 2.2.1(SWTBot with Maven 2.2.1)
SWTBot with Maven 2.2.1 [message #870516] Tue, 08 May 2012 13:56 Go to next message
prakash jv is currently offline prakash jv
Messages: 4
Registered: May 2012
Junior Member
We have been looking for unit test framework for unit testing SWT components in our RCP application developed in eclipse galileo 3.5.

We found SWTBot supports the better UI testing and wanted to additional details reagrding its support for maven 2.2.1.

Does SWTBot work with projects which are mavenized with maven 2.2.1?

Our aim of adding the unit tests for UI components is for better build quality. So we would want these Unit tests to be run everytime we build our assembly. As of now we use Junit4 for running our JUnits and they run with maven outside eclipse.

Does SWTBot support running the UI unit tests outside eclipse using maven?
Re: SWTBot with Maven 2.2.1 [message #870647 is a reply to message #870516] Wed, 09 May 2012 08:08 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1370
Registered: July 2009
Senior Member
On 05/08/2012 03:56 PM, prakash jv wrote:
> We have been looking for unit test framework for unit testing SWT
> components in our RCP application developed in eclipse galileo 3.5.
>
> We found SWTBot supports the better UI testing and wanted to additional
> details reagrding its support for maven 2.2.1.
>
> Does SWTBot work with projects which are mavenized with maven 2.2.1?
>
> Our aim of adding the unit tests for UI components is for better build
> quality. So we would want these Unit tests to be run everytime we build
> our assembly. As of now we use Junit4 for running our JUnits and they
> run with maven outside eclipse.
>
> Does SWTBot support running the UI unit tests outside eclipse using maven?

Hi

in

http://code.google.com/a/eclipselabs.org/p/emf-components/

we run swtbot tests with maven/tycho

hope this helps
cheers
Lorenzo


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Re: SWTBot with Maven 2.2.1 [message #872641 is a reply to message #870647] Wed, 16 May 2012 14:07 Go to previous messageGo to next message
prakash jv is currently offline prakash jv
Messages: 4
Registered: May 2012
Junior Member
Hey Lorenzo Bettini, thanks for your reply !!

It would be very helpful if you could provide more details on how maven can be used for running SWTBot tests? Also, I came across a information that SWTBot tests can be run only with maven3, any hints on this?

Prakash !!
Re: SWTBot with Maven 2.2.1 [message #874219 is a reply to message #872641] Sun, 20 May 2012 07:22 Go to previous message
Lorenzo Bettini is currently offline Lorenzo Bettini
Messages: 1370
Registered: July 2009
Senior Member
On 05/16/2012 04:07 PM, prakash jv wrote:
> Hey Lorenzo Bettini, thanks for your reply !!
>
> It would be very helpful if you could provide more details on how maven
> can be used for running SWTBot tests? Also, I came across a information
> that SWTBot tests can be run only with maven3, any hints on this?
>
> Prakash !!

HI

I only tried swtbot tests with tycho (see the code at
http://code.google.com/a/eclipselabs.org/p/emf-components/) so I cannot
help with running them with maven only (if that is what you need).

have you looked at this? http://wiki.eclipse.org/SWTBot/Maven

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
Previous Topic:Error in MANIFEST.MF of SWTBot test plugin
Next Topic:Launch SWTBot test in an opened Eclipse window
Goto Forum:
  


Current Time: Sat Oct 25 09:37:32 GMT 2014

Powered by FUDForum. Page generated in 0.02036 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software