Re: Unit testing


I had no intention of creating an entire unit test framework. I
already use boost's unit test framework for my non-GUI libraries, I
was just wondering if there were tricks like firing signals from code
and also dealing with the X output that I could use within that
framework to do unit testing.

If it does come to requiring the use of either dogtail or LDTP, that's
what I'll end up using. I just don't have the time or resources to put
into it right now, so I was wondering if there were gtkmm specific
methods someone was using.


On 1/20/07, Murray Cumming <murrayc murrayc com> wrote:
On Sat, 2007-01-20 at 05:43 -0600, Paul Davis wrote:
> 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.

Seriously, I think it's faster to use an existing framework rather than
creating your own.

Murray Cumming
murrayc murrayc com

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