Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » SWTBot launch configuration obsolete?
SWTBot launch configuration obsolete? [message #42053] Tue, 07 July 2009 15:35 Go to next message
Pascal G is currently offline Pascal GFriend
Messages: 157
Registered: July 2009
Senior Member
I saw that in the recent Eclipse 3.5 release jdt added an option in its
junit launch configuration which permits to launch test in a separate
thread then the UI thread. With this addition, I wonder what is the
difference between the SWTBot launch configuration and the JUnit one? I
tried a Junit Plug-in test with the new option and my test cases worked
fine.

And could this affect a headless testing environment? More specifically,
is the org.eclipse.swtbot.eclipse.core.UITestApplication still relevant?

I see that there is the backward compatibility issue, but is there
something other then that?
--
Pascal Gélinas | Software Developer
*Nu Echo Inc.*
http://www.nuecho.com/ | http://blog.nuecho.com/

*Because performance matters.*
Re: SWTBot launch configuration obsolete? [message #42085 is a reply to message #42053] Tue, 07 July 2009 16:05 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
This is a very valid question. I think the launcher is still relevant
for the following reasons:
- it's a one-click way to run a test instead of going to the
configuration dialog and selecting the checkbox.
- there's no headless support for the non-ui thread execution AFAIK.
- it's not too hard to maintain -- just a couple of classes that hardly
ever change

Of course I'm open to ways of improving the whole thing if it helps
throw code out the door. The lesser the code, the better for everybody :)

--
Ketan
http://studios.thoughtworks.com/twist | http://twitter.com/ketanpkr

On 7/7/09 21:05, Pascal Gelinas wrote:
> I saw that in the recent Eclipse 3.5 release jdt added an option in its
> junit launch configuration which permits to launch test in a separate
> thread then the UI thread. With this addition, I wonder what is the
> difference between the SWTBot launch configuration and the JUnit one? I
> tried a Junit Plug-in test with the new option and my test cases worked
> fine.
>
> And could this affect a headless testing environment? More specifically,
> is the org.eclipse.swtbot.eclipse.core.UITestApplication still relevant?
>
> I see that there is the backward compatibility issue, but is there
> something other then that?
Previous Topic:Documentation for test recorder
Next Topic:install document
Goto Forum:
  


Current Time: Thu Apr 25 19:46:51 GMT 2024

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

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

Back to the top