Re: GUI Testing Tools

2011-03-01 Thread Kevin Ryde
Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com writes: How do you test a function that is not in a module? All I meant was to run some private non-gui code like is (Gtk2::Ex::MyWidget::_crunch_something('abc), 'def'); directly out of what's otherwise a widget module, if you don't

Re: GUI Testing Tools

2011-02-26 Thread Jeffrey Ratcliffe
On 26 February 2011 01:44, Kevin Ryde use...@zip.com.au wrote: Not necessarily split into modules, but in functions which can be exercised without too much gui.  Creating some widgets to support How do you test a function that is not in a module? Can you just use lib path/to/bin/with/function

Re: GUI Testing Tools

2011-02-25 Thread Kevin Ryde
Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com writes: Has anyone tried to use these (or a different tool) for testing a Gtk2-Perl app? I haven't gone beyond calling module methods or activating Gtk2::Action or buttons etc. Getting enough state and waiting and whatnot for even that tends to be

Re: GUI Testing Tools

2011-02-25 Thread Jeffrey Ratcliffe
On 25 February 2011 22:06, Kevin Ryde use...@zip.com.au wrote: I haven't gone beyond calling module methods or activating Gtk2::Action or buttons etc.  Getting enough state and waiting and whatnot for even that tends to be a bit tedious. I guess that is the answer - put everything that doesn't

Re: GUI Testing Tools

2011-02-25 Thread Kevin Ryde
Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com writes: put everything that doesn't involve the GUI into module(s) Not necessarily split into modules, but in functions which can be exercised without too much gui. Creating some widgets to support shouldn't be a problem. Test .t scripts may have

GUI Testing Tools

2011-01-31 Thread Jeffrey Ratcliffe
I'm looking at ways of automatically testing my Gtk2-Perl app. I see that there are various GUI testing tools, like dogtail, strongwind, LDTP, etc. Has anyone tried to use these (or a different tool) for testing a Gtk2-Perl app? Regards Jeff ___ gtk