On 06/20/2013 01:46 PM, Rastislav
Wagner wrote:
I'd like to ask your opinion concerning functionality you would like to see in SWT recorder & generator.
I've been working on a few new functions. See the video i did today https://vimeo.com/68764983
Wow that's great, and they are very concrete and useful improvements
for people who want to write tests!
To put some context, we also have to keep in mind that this recorder
should also be embeddable into any existing product directly, and
that it can be used out of the development process. For example, one
could embed the recorder in his product and provide his own process
to start it (such as "Help > Record Usage Scenario and Report
Bug..." where there wouldn't even be a RecorderDialog pop up). That
said, please see my comments inline:
You can see that:
- there's runner to run Generator
That's quite useful. I recently made some updates in the way
Generator is started so it should be easier to do so. Have you
re-used it?
However, I think this integration, since it adds some UI, should be
something optional, in its own plugin. WDYT?
- imports are being generated
- you can add classes (I actually forgot to show you this :) )
- you can add methods - currently focused method is highlighted
- you can annotate class/methods
- code coloring
All that is great. Does that mean that the test generator now
depends on JDT ? If so it might not fit for some use-cases of very
light product that don't include JDT. Maybe the Dialog you provide
for recorder could be an alternative dialog to the default one, and
could be part of another bundle such as
org.eclipse.swtbot.generator.jdt so one can still choose the default
one if they don't want to embed JDT.
Feel free to push changes on Gerrit (if possible in several
functional commits to make it easier to review) so we can start
looking at how to merge this as cleanly as possible. It would be
nice if we could have this part of next SWTBot release just after
Kepler.
Cheers,
|