I think this is a
really amazing feature
for the SWTBot project.
Exist a bug entry for this
feature?
No, it's a git contribution https://git.eclipse.org/r/#/c/9301/
I plan to merge it soon (this week) so it will be available on a
SNAPSHOT build. I just need to check the legal stuff before merging
it.
I'll also create a "Recorder" bugzilla component to track issues.
When will be this feature ready
for
the next release?
This feature is not critical in term of architecture. Nothing
depends on it, and it's "just" a tool. So it's quite easy to include
a first "good enough" version checked in and improve it later. It
will get soon in SNAPSHOT build, and it will be part of next release
(which is still waiting for e4 issues to be resolved
https://bugs.eclipse.org/bugs/show_bug.cgi?id=385527 ).
The generated code seems very close to what we
would code by hand (except
for i18n and use of IDialogConstants).
The goal, so far, is exactly to provide something that will speed up
writing your SWTBot tests. I personnally believe that in real
testing, the generated code will almost always require a few
refactorings to be more sustainable. i18n is part of the thing that
probably can't be handle by the tool and will always have to be
fixed manually.
The general goal is to get closer and closer from the ideal code (no
need to change it), but IMO there will always be some limitations.
In any case, the code is easy to improve. As soon as it's checked
in, you will be highly welcome to suggest improvements.
Cheers,
|