Re: Unit testing



Murray,

Both of those look interesting but they also both require me figuring
out the accesibility api stuff. In general, this is something that I
could see using in the future.

Currently I was mostly thinking of firing signals which would of
course tie the tests to the gtkmm api, but it seems quite a bit faster
to implement.

Thanks,
Paul

On 1/20/07, Murray Cumming <murrayc murrayc com> wrote:
On Sat, 2007-01-20 at 05:08 -0600, Paul Davis wrote:
> Hey everyone,
>
> I'm contemplating how best to perform testing on some of my gtkmm
> code. I've looked through the list archives for gtk and gtkmm and
> didn't find anything worth noting. I've heard of using accesibility
> api's to do GUI testing, but that seems like a Bad Idea (TM).

It really seems to work. dogtail and LDTP are the two competing projects
that do this. dogtail seems most straightforward to me, but I have only
looked at them superficially.

Sooner or later, I want to make dogtail scripts to test my Glom
application.

> So basically this is just an open ended question to see if anyone has
> any thoughts on how best to test parts of a gtkmm application.

--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]