I think this discussion is about creating a GUI for executing test
suites, not editing them. See RF issue 709 for the genesis of the
discussion (http://code.google.com/p/robotframework/issues/detail?id=709)
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To post to this group, send email to robotframe...@googlegroups.com.
To unsubscribe from this group, send email to robotframework-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/robotframework-users?hl=en.
Having a GUI to start (and monitor?) execution would be great for
people who aren't so used to the command line. I think it's better to
be a separate project so that it can be improved on it's own phase.
Has anyone else needed such a tool? Anyone has implemented anything
similar?
Cheers,
.peke
--
Agile Tester/Developer/Consultant :: http://eliga.fi
Lead Developer of Robot Framework :: http://robotframework.org
I have something, it's just not quite to the point I'm ready to
release but it's very close. I was planning on doing a personal
hackathon over the Christmas holidays and hopefully release a preview
around the start of the new year. And yes, it's for both starting and
monitoring. And maybe single-stepping through a test, though I'm
having to pull some serious rabbits out of my hat to make that work.
That single-step feature might not make it to the preview release,
it's turning out to be a lot harder to get right than I first thought.
I've got the basic mechanics working but there's just not enough
information exposed in the listener interface to do a good job.
Eventually I think Robot needs one tool rather than two, but I'll save
that discussion for another day.
--bryan
2010/12/8 Bryan Oakley <oak...@bardo.clearlight.com>:
> On Tue, Dec 7, 2010 at 4:17 PM, Bryan Oakley
> <oak...@bardo.clearlight.com> wrote:
>>
>> I have something, it's just not quite to the point I'm ready to
>> release but it's very close....
>
> This reminds me... I've been meaning to ask if you mind if I create a
> google code project for this and give it a name that includes
> "robotframework". I was thinking maybe "robotframework-rdb"
> (rdb="Robot DeBugger").
I have absolutely nothing against you or anyone else starting a
project with `robotframework` in it's name. This is a framework
afteral, and getting more tools into the ecosystem is good for
everybody.
> It's going to grow into something much, much more than a debugger, but
> the good name has already been taken :-)
The only problems I can see with everybody starting new projects is
that good names can be taken and that there can be multiple similar
projects. That's a much better problem to have than not having any of
these projects so there's not much to complain. I believe over the
time the best project will live and stand above others and that
related projects may also merge.
Cheers,
.peke, who's really excited about all the different libraries and
tools released this autumn!
I'm actually creating two things. One is a framework for building
apps. It has a plugin architecture and support for persistent settings
(and a preferences dialog for managing those settings), and is based
on wx.lib.agw.aui. The second piece started life as my test runner
plugin but moved to this new framework. It became the basis for a
debugger, but I'm finding many roadblocks to making that work well.
The robot framework really isn't set up to be able to run
interactively, though I'm still chipping away at the problem and might
have a solution soon.
For the moment I'm back to finishing the part that is used for running
tests. My goal is to be able to let the user define "profiles" which
is really nothing more than a bunch of command line arguments stored
as a single set (there will be a GUI for defining and managing these
sets). For example, you could have a "debug" profile that sets the log
level to debug and only runs tests with the tag "debug". Or, for
example, a "hudson" profile that defines the options we want to use in
our hudson jobs (typically, exclude files with the tag "in-progress",
and a couple other options).
You can then pick one of these sets and click "run" to run and monitor
execution. One of the other features of my runner is that it presents
a tree of the parsed suite and gives you the option to pick individual
tests to run. I'm still deciding how to integrate that with the
profile concept -- should profiles include the names of individual
test cases or suites? That would make the GUI for managing profiles
more complex. The way I'm leaning at the moment is to leave that out
of the profiles. So, to run a specific test you pick a profile and
then select the specific test prior to hitting the "run" button.
What it doesn't have is a way to run a test multiple times, nor the
ability to combine outputs of multiple test runs, both of which seem
to be goals of yours. Though, I could see such features easily be
integrated into my tool as a separate plugin that provides a "test
plan" perspective, where test plans are instructions for running one
or more profiles in a particular sequence. I see a lot of potential
there.
I currently intend to use robot's argument file feature to store these
profiles. Argument files solve 95% of the problem, and for the last 5%
I can embed a little metadata in comments within the file. This way
the profiles can be version controlled right along with the test
files, and used from the command line for batch jobs and whatnot. I'm
open to other ideas, though.
--bryan