Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » stability of 2.0 branch
stability of 2.0 branch [message #2980] Mon, 27 October 2008 21:21 Go to next message
Will Horn is currently offline Will HornFriend
Messages: 265
Registered: July 2009
Senior Member
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 #2997 is a reply to message #2980] Mon, 27 October 2008 22:10 Go to previous messageGo to next message
Will Horn is currently offline Will HornFriend
Messages: 265
Registered: July 2009
Senior Member
I tried the 1.x "trunk" feature first and immediately ran into a bug
fixed almost a month ago
https://swtbot.svn.sourceforge.net/viewvc/swtbot/trunk/net.s f.swtbot.finder/src/net/sf/swtbot/wait/ShellIsActive.java?r1 =955&r2=962

The website implies nightly builds, but that does not seem to be the
case. Are most people checking out directly from SVN?

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.
>
> 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 #3013 is a reply to message #2997] Tue, 28 October 2008 17:50 Go to previous messageGo to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Will Horn wrote:
> I tried the 1.x "trunk" feature first and immediately ran into a bug
> fixed almost a month ago
> https://swtbot.svn.sourceforge.net/viewvc/swtbot/trunk/net.s f.swtbot.finder/src/net/sf/swtbot/wait/ShellIsActive.java?r1 =955&r2=962
>
>
> The website implies nightly builds, but that does not seem to be the
> case. Are most people checking out directly from SVN?

I'll push in a build on the nightly site immediately. This seems to be
some problem with the cruise server running in the office that publishes
nightly artifacts. I'll take a look at this once I get back, I'm
currently away from office.

Most people use the nightlies that I publish. Some of those who
contribute patches, stay on the bleeding edge. Since most code has
tests, there's very little chances of bugs even in the bleeding edge.

-- Ketan
Re: stability of 2.0 branch [message #3031 is a reply to message #2980] Tue, 28 October 2008 17:54 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
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
Previous Topic:It's just what Eclipse needs for RCP application testing
Next Topic:Swing/Albireo support?
Goto Forum:
  


Current Time: Fri Sep 17 06:38:09 GMT 2021

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

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

Back to the top