stability of 2.0 branch [message #2980] |
Mon, 27 October 2008 17:21  |
Eclipse User |
|
|
|
I'm considering using SWT Bot for an open source RCP application. I'd
like to be using the latest and greatest as much as possible and would
also be more than happy to contribute to such a well-needed tool.
What is the intention of the 2.0 branch? Will it break certain 1.x
features during the refactoring process? Or will 1.x functionality be
preserved?
Thanks,
Will
|
|
|
|
|
Re: stability of 2.0 branch [message #3031 is a reply to message #2980] |
Tue, 28 October 2008 13:54  |
Eclipse User |
|
|
|
Hi Will,
Will Horn wrote:
> I'm considering using SWT Bot for an open source RCP application.
I'd like to be using the latest and greatest as much as possible and
would also be more than happy to contribute to such a well-needed tool.
Great! Let me know how I can help :)
> What is the intention of the 2.0 branch?
The intent behind the 2.0 branch is two fold:
1. decouple components within swtbot: Currently the widgets are "self
finding". This causes problems when you want to find widgets using a
variety of methods, by their labels, by their text, by the group that
contains them, or a combination of the above.
2. move to java 1.5. This enables SWTBot to use some of the new features
like generics to reduce unnecessary code.
> Will it break certain 1.x features during the refactoring process?
Or will 1.x functionality be preserved?
All functionality will be preserved, however API has changed between 1.x
and 2.0. The previous post documents these changes.
I'd say that the API in the current 2.0 branch is quite near what I'd
like it to be. You can expect new API to be added. I don't expect it to
break, though.
There are more details on SWTBot 2.0 on my previous email on this
newsgroup, also available at
( http://www.nabble.com/-ANN--Summary-of-changes-in-SWTBot-2.0 -td19905440.html)
If you're just about to start with your test code, I'd recommend staying
on 2.0, since 1.x would soon be phased out.
-- Ketan
|
|
|
Powered by
FUDForum. Page generated in 0.03687 seconds